diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-03-23 15:28:20 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-03-23 15:28:20 -0400 |
commit | bc80cc55f0a1689b86bf037c9d84cb7ff2b95131 (patch) | |
tree | 62e5b77485f3ebada9921d127c0f60838b4fac9a /sound | |
parent | f08ac4e79424c266aed8282939649104b37f53b4 (diff) |
ASoC/TLV320AIC3X: Stop I2C driver ID abuse
Please stop using random I2C driver IDs.
Also removed a pointless initialization to 0 of a static struct member.
Acked-by: Takashi Iwai <tiwai@suse.de>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/tlv320aic3x.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c index 569ecaca0e8b..889a897d41ac 100644 --- a/sound/soc/codecs/tlv320aic3x.c +++ b/sound/soc/codecs/tlv320aic3x.c | |||
@@ -1187,10 +1187,8 @@ static struct i2c_driver aic3x_i2c_driver = { | |||
1187 | .name = "aic3x I2C Codec", | 1187 | .name = "aic3x I2C Codec", |
1188 | .owner = THIS_MODULE, | 1188 | .owner = THIS_MODULE, |
1189 | }, | 1189 | }, |
1190 | .id = I2C_DRIVERID_I2CDEV, | ||
1191 | .attach_adapter = aic3x_i2c_attach, | 1190 | .attach_adapter = aic3x_i2c_attach, |
1192 | .detach_client = aic3x_i2c_detach, | 1191 | .detach_client = aic3x_i2c_detach, |
1193 | .command = NULL, | ||
1194 | }; | 1192 | }; |
1195 | 1193 | ||
1196 | static struct i2c_client client_template = { | 1194 | static struct i2c_client client_template = { |