ALSA: usb: Clean up with new procfs helpers
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:07:35 +0000 (16:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:11:57 +0000 (18:11 +0100)
commit7449054af0dcfa2839bb2da0a393bd35cf08daff
tree3b83650e4a1b82e7c922b4658f9d815542386267
parent3c6ee77088a9b5188d065780b1c540f5e3d879c8
ALSA: usb: 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/usb/mixer.c
sound/usb/mixer_quirks.c
sound/usb/proc.c