No functional change, refactoring with the standard helpers. Signed-off-by: Takashi Iwai <tiwai@suse.de>