aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/s3c24xx
diff options
context:
space:
mode:
authorJonas Bonn <jonas.bonn@gmail.com>2008-11-19 17:10:56 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:10:56 +0000
commitacbac4825627e18b1ee979a1d2fda7a0a51dec33 (patch)
tree8fa485e459449bade7df481bf8172d757954f8ac /sound/soc/s3c24xx
parentde1aca9d30c29b60094295919e36382fb0596358 (diff)
ALSA: Cleanup WM8753 driver after switch to i2c driver model
Mainly this concerns device registration. Registration should be handled at the machine level and not in the driver itself. This patch drops registration at the driver level. As registration allows for specifying an i2c device address, the setup data is not needed to be passed to the driver. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
Diffstat (limited to 'sound/soc/s3c24xx')
-rw-r--r--sound/soc/s3c24xx/neo1973_wm8753.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c
index 5cbbe988e1f..135006bd355 100644
--- a/sound/soc/s3c24xx/neo1973_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_wm8753.c
@@ -585,16 +585,10 @@ static struct snd_soc_machine neo1973 = {
.num_links = ARRAY_SIZE(neo1973_dai),
};
-static struct wm8753_setup_data neo1973_wm8753_setup = {
- .i2c_bus = 0,
- .i2c_address = 0x1a,
-};
-
static struct snd_soc_device neo1973_snd_devdata = {
.machine = &neo1973,
.platform = &s3c24xx_soc_platform,
.codec_dev = &soc_codec_dev_wm8753,
- .codec_data = &neo1973_wm8753_setup,
};
static int lm4857_i2c_probe(struct i2c_client *client,