From: Fabio Estevam <festevam@gmail.com>
To: boris.brezillon@bootlin.com
Cc: marek.vasut@gmail.com, linux-mtd@lists.infradead.org,
Fabio Estevam <fabio.estevam@nxp.com>
Subject: [PATCH] mtd: maps: pismo: Remove owner assignment from i2c_driver
Date: Mon, 23 Apr 2018 09:07:13 -0300 [thread overview]
Message-ID: <1524485233-20502-1-git-send-email-festevam@gmail.com> (raw)
From: Fabio Estevam <fabio.estevam@nxp.com>
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>
---
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.7.4
next reply other threads:[~2018-04-23 12:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-23 12:07 Fabio Estevam [this message]
2018-05-04 19:34 ` [PATCH] mtd: maps: pismo: Remove owner assignment from i2c_driver Boris Brezillon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1524485233-20502-1-git-send-email-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=boris.brezillon@bootlin.com \
--cc=fabio.estevam@nxp.com \
--cc=linux-mtd@lists.infradead.org \
--cc=marek.vasut@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox