summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-08-30 14:39:54 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-21 16:07:45 +0100
commit0722d055ac2236da4e319d22a99c9f7e82dbdd5d (patch)
tree2adae127a5933c011ccfbd67585417fb73a905ec /include/sound
parent07441006b2a1df0478bb7bdafd9dcd578898f2d4 (diff)
downloadop-kernel-dev-0722d055ac2236da4e319d22a99c9f7e82dbdd5d.zip
op-kernel-dev-0722d055ac2236da4e319d22a99c9f7e82dbdd5d.tar.gz
ASoC: tpa6130a2: Remove model_id from platform data
The model_id is no longer needed within the platform_data for the TPA driver since the model of TPA specified with the device name (tpa6130a2/tpa6140a2). Also update rx51 (the only affected user) to use the device name rather than platform data. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Acked-by: Liam Girdwood <lrg@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/tpa6130a2-plat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/sound/tpa6130a2-plat.h b/include/sound/tpa6130a2-plat.h
index 89beccb5..4cc1093 100644
--- a/include/sound/tpa6130a2-plat.h
+++ b/include/sound/tpa6130a2-plat.h
@@ -23,13 +23,7 @@
#ifndef TPA6130A2_PLAT_H
#define TPA6130A2_PLAT_H
-enum tpa_model {
- TPA6130A2,
- TPA6140A2,
-};
-
struct tpa6130a2_platform_data {
- enum tpa_model id;
int power_gpio;
};
OpenPOWER on IntegriCloud