]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: cs46xx: Clean up proc file creations
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Feb 2019 15:46:27 +0000 (16:46 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:11:59 +0000 (18:11 +0100)
commit0b2338a9bf36b5ac6ed43425e2f1357fb3d3841b
treede7250a74b8b308c4cd6527ce51e74f7214cacba
parent29b2625ff605394ecd0b078e0cb67a151bb4d80c
ALSA: cs46xx: Clean up proc file creations

Again no functional changes, but only code clean up.
Use a standard macro for initializing the procfs entries, also drop
the info entries stored in dsp_spos_instance, as they are removed
recursively by a single snd_info_free_entry() calls.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs46xx/cs46xx_dsp_spos.h
sound/pci/cs46xx/dsp_spos.c
sound/pci/cs46xx/dsp_spos_scb_lib.c