Commit 051529d0 authored by Fabio Estevam's avatar Fabio Estevam Committed by Boris Brezillon

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
parent 27ab41e2
...@@ -265,7 +265,6 @@ MODULE_DEVICE_TABLE(i2c, pismo_id); ...@@ -265,7 +265,6 @@ MODULE_DEVICE_TABLE(i2c, pismo_id);
static struct i2c_driver pismo_driver = { static struct i2c_driver pismo_driver = {
.driver = { .driver = {
.name = "pismo", .name = "pismo",
.owner = THIS_MODULE,
}, },
.probe = pismo_probe, .probe = pismo_probe,
.remove = pismo_remove, .remove = pismo_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment