From: Leo Yan <leo.yan@linaro.org>
To: SF Markus Elfring <elfring@users.sourceforge.net>
Cc: Jassi Brar <jassisinghbrar@gmail.com>,
kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,
Julia Lawall <julia.lawall@lip6.fr>
Subject: Re: [PATCH] mailbox-Hi6220: Delete owner assignment
Date: Mon, 15 Aug 2016 09:49:40 +0800 [thread overview]
Message-ID: <20160815014940.GB20946@leoy-linaro> (raw)
In-Reply-To: <8ceb6e3b-1e44-8023-2574-c6333e978325@users.sourceforge.net>
On Sun, Aug 14, 2016 at 09:18:53PM +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 14 Aug 2016 21:08:41 +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@users.sourceforge.net>
> ---
> drivers/mailbox/hi6220-mailbox.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mailbox/hi6220-mailbox.c b/drivers/mailbox/hi6220-mailbox.c
> index 613722d..288c505 100644
> --- a/drivers/mailbox/hi6220-mailbox.c
> +++ b/drivers/mailbox/hi6220-mailbox.c
> @@ -371,7 +371,6 @@ static int hi6220_mbox_remove(struct platform_device *pdev)
> static struct platform_driver hi6220_mbox_driver = {
> .driver = {
> .name = "hi6220-mbox",
> - .owner = THIS_MODULE,
Thanks.
Acked-by: Leo Yan <leo.yan@linaro.org>
> .of_match_table = hi6220_mbox_of_match,
> },
> .probe = hi6220_mbox_probe,
> --
> 2.9.2
>
prev parent reply other threads:[~2016-08-15 1:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-14 19:18 SF Markus Elfring
2016-08-15 1:49 ` Leo Yan [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=20160815014940.GB20946@leoy-linaro \
--to=leo.yan@linaro.org \
--cc=elfring@users.sourceforge.net \
--cc=jassisinghbrar@gmail.com \
--cc=julia.lawall@lip6.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®