projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ca114
)
ASoc: tpa6130a2: Remove unnecessary variable
author
Ilkka Koskinen
<ilkka.koskinen@nokia.com>
Mon, 4 Jan 2010 12:30:03 +0000
(14:30 +0200)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 4 Jan 2010 18:28:23 +0000
(18:28 +0000)
Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tpa6130a2.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tpa6130a2.c
b/sound/soc/codecs/tpa6130a2.c
index 0eb33d49942ebfb3f0d55dbd8549e1606c391b3a..8e98ccfab75c5361b830867567d3b359d98a5208 100644
(file)
--- a/
sound/soc/codecs/tpa6130a2.c
+++ b/
sound/soc/codecs/tpa6130a2.c
@@
-267,12
+267,8
@@
static const struct snd_kcontrol_new tpa6130a2_controls[] = {
*/
static void tpa6130a2_channel_enable(u8 channel, int enable)
{
- struct tpa6130a2_data *data;
u8 val;
- BUG_ON(tpa6130a2_client == NULL);
- data = i2c_get_clientdata(tpa6130a2_client);
-
if (enable) {
/* Enable channel */
/* Enable amplifier */