]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: twl4030: Clean up duplicated code
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 07:56:39 +0000 (08:56 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:42:59 +0000 (10:42 +0900)
commit6b207c0f166e7f19c9d9dc48feb25e276e36c43f
tree05dac6f38dd5adc14320eb2b45217d3b24c4e2a9
parent9a8d38db030f016bee45b927af02d9b46398ed46
ASoC: twl4030: Clean up duplicated code

Remove the open code in snd_soc_put_twl4030_opmode_enum_double() but
just call snd_soc_put_enum_double() instead, which does the very same
thing (even correctly with a lock).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/twl4030.c