summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320aic3x.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-03-23 20:28:20 +0100
committerJean Delvare <khali@hyperion.delvare>2008-03-23 20:28:20 +0100
commitbc80cc55f0a1689b86bf037c9d84cb7ff2b95131 (patch)
tree62e5b77485f3ebada9921d127c0f60838b4fac9a /sound/soc/codecs/tlv320aic3x.c
parentf08ac4e79424c266aed8282939649104b37f53b4 (diff)
downloadlinux-bc80cc55f0a1689b86bf037c9d84cb7ff2b95131.tar.bz2
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/soc/codecs/tlv320aic3x.c')
-rw-r--r--sound/soc/codecs/tlv320aic3x.c2
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 = {
.name = "aic3x I2C Codec",
.owner = THIS_MODULE,
},
- .id = I2C_DRIVERID_I2CDEV,
.attach_adapter = aic3x_i2c_attach,
.detach_client = aic3x_i2c_detach,
- .command = NULL,
};
static struct i2c_client client_template = {