ASoC: sb16: Simplify snd_sb16dsp_pcm()
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 2 Jan 2015 11:24:42 +0000 (12:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jan 2015 15:28:35 +0000 (16:28 +0100)
commit92533f188862fbefe357ada4e4af67b8e730e680
tree1c5196dd29ae73119c18d99a8e5d1870e3c24bcf
parent8c77629996cbabee1d5b6d9b0d1e97cbca197ba1
ASoC: sb16: Simplify snd_sb16dsp_pcm()

All callers of snd_sb16dsp_pcm() always pass the pcm field of the first
parameter as the last parameter. Simplify the function by moving this inside
the function itself. This makes the code a bit shorter and cleaner.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/sb.h
sound/isa/als100.c
sound/isa/sb/sb16.c
sound/isa/sb/sb16_main.c
sound/pci/cs5530.c