From acbac4825627e18b1ee979a1d2fda7a0a51dec33 Mon Sep 17 00:00:00 2001 From: Jonas Bonn Date: Wed, 19 Nov 2008 17:10:56 +0000 Subject: 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 --- sound/soc/s3c24xx/neo1973_wm8753.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sound/soc/s3c24xx') 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, -- cgit v1.2.3