mtd: maps: pismo: 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: Boris Brezillon <boris.brezillon@bootlin.com>
This commit is contained in:
parent
27ab41e2c1
commit
051529d0c0
@ -265,7 +265,6 @@ MODULE_DEVICE_TABLE(i2c, pismo_id);
|
||||
static struct i2c_driver pismo_driver = {
|
||||
.driver = {
|
||||
.name = "pismo",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = pismo_probe,
|
||||
.remove = pismo_remove,
|
||||
|
Loading…
Reference in New Issue
Block a user