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

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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,