Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc80cc55 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent f08ac4e7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 = {