提交 bc80cc55 编写于 作者: J Jean Delvare 提交者: Jean Delvare

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: NTakashi Iwai <tiwai@suse.de>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
上级 f08ac4e7
......@@ -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 = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册