mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
ASoC: tscs42xx: Remove owner assignment from i2c_driver
Structure i2c_driver does not need to set the owner field, as this will be populated by the driver core. Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
641eea3f8b
commit
c3fd6a1d1a
@ -1443,7 +1443,6 @@ MODULE_DEVICE_TABLE(of, tscs42xx_of_match);
|
||||
static struct i2c_driver tscs42xx_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "tscs42xx",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = tscs42xx_of_match,
|
||||
},
|
||||
.probe = tscs42xx_i2c_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user