From: Boris Brezillon <boris.brezillon@bootlin.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>,
marek.vasut@gmail.com, linux-mtd@lists.infradead.org
Subject: Re: [PATCH] mtd: maps: pismo: Remove owner assignment from i2c_driver
Date: Fri, 4 May 2018 21:34:32 +0200 [thread overview]
Message-ID: <20180504213432.21599de2@bbrezillon> (raw)
In-Reply-To: <1524485233-20502-1-git-send-email-festevam@gmail.com>
On Mon, 23 Apr 2018 09:07:13 -0300
Fabio Estevam <festevam@gmail.com> wrote:
> 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>
Applied.
Thanks,
Boris
> ---
> 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,
prev parent reply other threads:[~2018-05-04 19:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-23 12:07 [PATCH] mtd: maps: pismo: Remove owner assignment from i2c_driver Fabio Estevam
2018-05-04 19:34 ` Boris Brezillon [this message]
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=20180504213432.21599de2@bbrezillon \
--to=boris.brezillon@bootlin.com \
--cc=fabio.estevam@nxp.com \
--cc=festevam@gmail.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