ALSA: pci: 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>
Showing
- sound/pci/ad1889.c 2 additions, 4 deletionssound/pci/ad1889.c
- sound/pci/ak4531_codec.c 1 addition, 4 deletionssound/pci/ak4531_codec.c
- sound/pci/ali5451/ali5451.c 1 addition, 3 deletionssound/pci/ali5451/ali5451.c
- sound/pci/asihpi/asihpi.c 2 additions, 4 deletionssound/pci/asihpi/asihpi.c
- sound/pci/atiixp.c 1 addition, 4 deletionssound/pci/atiixp.c
- sound/pci/atiixp_modem.c 2 additions, 4 deletionssound/pci/atiixp_modem.c
- sound/pci/ca0106/ca0106_proc.c 15 additions, 25 deletionssound/pci/ca0106/ca0106_proc.c
- sound/pci/cmipci.c 1 addition, 4 deletionssound/pci/cmipci.c
- sound/pci/cs4281.c 1 addition, 2 deletionssound/pci/cs4281.c
- sound/pci/emu10k1/emu10k1x.c 3 additions, 9 deletionssound/pci/emu10k1/emu10k1x.c
- sound/pci/emu10k1/emuproc.c 31 additions, 50 deletionssound/pci/emu10k1/emuproc.c
- sound/pci/ens1370.c 2 additions, 4 deletionssound/pci/ens1370.c
- sound/pci/hda/hda_proc.c 1 addition, 8 deletionssound/pci/hda/hda_proc.c
- sound/pci/ice1712/ice1712.c 1 addition, 4 deletionssound/pci/ice1712/ice1712.c
- sound/pci/ice1712/ice1724.c 1 addition, 4 deletionssound/pci/ice1712/ice1724.c
- sound/pci/ice1712/pontis.c 3 additions, 9 deletionssound/pci/ice1712/pontis.c
- sound/pci/ice1712/prodigy192.c 2 additions, 3 deletionssound/pci/ice1712/prodigy192.c
- sound/pci/ice1712/prodigy_hifi.c 2 additions, 6 deletionssound/pci/ice1712/prodigy_hifi.c
- sound/pci/ice1712/quartet.c 1 addition, 3 deletionssound/pci/ice1712/quartet.c
- sound/pci/intel8x0.c 2 additions, 4 deletionssound/pci/intel8x0.c
Loading
Please register or sign in to comment