diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-03-23 20:28:20 +0100 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-03-23 20:28:20 +0100 |
commit | bc80cc55f0a1689b86bf037c9d84cb7ff2b95131 (patch) | |
tree | 62e5b77485f3ebada9921d127c0f60838b4fac9a /sound | |
parent | f08ac4e79424c266aed8282939649104b37f53b4 (diff) | |
download | linux-bc80cc55f0a1689b86bf037c9d84cb7ff2b95131.tar.gz linux-bc80cc55f0a1689b86bf037c9d84cb7ff2b95131.tar.bz2 linux-bc80cc55f0a1689b86bf037c9d84cb7ff2b95131.zip |
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 = { .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 = { |