[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f52b0672-4e83-ca3b-2821-e9ba7310a051@users.sourceforge.net>
Date: Mon, 15 Aug 2016 08:18:25 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-mtd@...ts.infradead.org,
Brian Norris <computersforpeace@...il.com>,
David Woodhouse <dwmw2@...radead.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH] mtd/maps/pismo: Delete owner assignment
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Mon, 15 Aug 2016 08:05:33 +0200
The field "owner" is set by core. Thus delete an extra initialisation.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/mtd/maps/pismo.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/maps/pismo.c b/drivers/mtd/maps/pismo.c
index dc6df9a..c065d79 100644
--- a/drivers/mtd/maps/pismo.c
+++ b/drivers/mtd/maps/pismo.c
@@ -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,
--
2.9.2
Powered by blists - more mailing lists