ALSA: drivers: Clean up with new procfs helpers
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 14:58:33 +0000 (15:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:11:55 +0000 (18:11 +0100)
commit815d808c7bfc91edbf25813cea54709f4a805c71
treefe61cfdfe16a1454879a047e8deed249cb90d802
parent7453e1dafdec076f87384c8647d2960affd57ecc
ALSA: drivers: Clean up with new procfs helpers

Simplify the proc fs creation code with new helper functions,
snd_card_ro_proc_new() and snd_card_rw_proc_new().
Just a code refactoring and no functional changes.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/aloop.c
sound/drivers/dummy.c
sound/drivers/vx/vx_core.c