projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f08ac4e
)
ASoC/TLV320AIC3X: Stop I2C driver ID abuse
author
Jean Delvare
<khali@linux-fr.org>
Sun, 23 Mar 2008 19:28:20 +0000
(20:28 +0100)
committer
Jean Delvare
<khali@hyperion.delvare>
Sun, 23 Mar 2008 19:28:20 +0000
(20:28 +0100)
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>
sound/soc/codecs/tlv320aic3x.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/tlv320aic3x.c
b/sound/soc/codecs/tlv320aic3x.c
index 569ecaca0e8b9caf7723d9a393367ab6853242c9..889a897d41ac3ed49a5baea9674fdf4d04fbb14b 100644
(file)
--- 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 = {