linux/sound/isa
Lars-Peter Clausen fa60c06569 ALSA: wss: Remove (almost) always NULL parameters
Most callers of snd_wss_pcm(), snd_wss_timer() and snd_cs4236_pcm() pass
NULL as the last parameter, some callers pass a pointer but never use it
after the function has been called and only a few callers pass a pointer and
actually use it. The later is only the case for snd_wss_pcm() for
snd_cs4236_pcm() and it is possible to get the same PCM object by accessing
the pcm field of the snd_wss struct that was passed as the first parameter.

This function removes the last parameters from the functions mentioned above
and updates the callers which used it to use chip->pcm instead. This allows
us to slightly simplify the functions since they don't have to check and set
the last parameter anymore which makes the code slightly shorter and
cleaner.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-01-02 16:30:08 +01:00
..
ad1816a ALSA: ad1816a: Remove always NULL parameters 2015-01-02 16:26:20 +01:00
ad1848 ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
cs423x ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
es1688 ALSA: es1688: Remove almost always NULL parameter 2015-01-02 16:27:03 +01:00
galaxy ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
gus ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
msnd ALSA: msnd: Remove always NULL parameter 2015-01-02 16:28:04 +01:00
opti9xx ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
sb ASoC: sb16: Simplify snd_sb16dsp_pcm() 2015-01-02 16:28:35 +01:00
wavefront ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
wss ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
adlib.c ALSA: isa: Convert to snd_card_new() with a device pointer 2014-02-12 10:58:21 +01:00
als100.c ASoC: sb16: Simplify snd_sb16dsp_pcm() 2015-01-02 16:28:35 +01:00
azt2320.c ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
cmi8328.c ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
cmi8330.c ALSA: isa: Convert to snd_card_new() with a device pointer 2014-02-12 10:58:21 +01:00
es18xx.c ALSA: es18xx: Remove always NULL parameter 2015-01-02 16:27:24 +01:00
Kconfig Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
Makefile ALSA: introduce snd-cmi8328: C-Media CMI8328 driver 2012-08-21 07:30:46 +02:00
opl3sa2.c ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
sc6000.c ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
sscape.c ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00