From: Guenter Roeck <linux@roeck-us.net>
To: Wei Yongjun <weiyj_lk@163.com>, Wim Van Sebroeck <wim@iguana.be>
Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
linux-watchdog@vger.kernel.org
Subject: Re: [PATCH -next] watchdog: pic32-wdt: Remove .owner field for driver
Date: Tue, 19 Jul 2016 07:31:47 -0700 [thread overview]
Message-ID: <578E39D3.2000705@roeck-us.net> (raw)
In-Reply-To: <1468928119-4337-1-git-send-email-weiyj_lk@163.com>
On 07/19/2016 04:35 AM, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> Remove .owner field if calls are used which set it automatically.
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> drivers/watchdog/pic32-wdt.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/watchdog/pic32-wdt.c b/drivers/watchdog/pic32-wdt.c
> index 2b7a2b2..18174fe 100644
> --- a/drivers/watchdog/pic32-wdt.c
> +++ b/drivers/watchdog/pic32-wdt.c
> @@ -251,7 +251,6 @@ static struct platform_driver pic32_wdt_driver = {
> .remove = pic32_wdt_drv_remove,
> .driver = {
> .name = "pic32-wdt",
> - .owner = THIS_MODULE,
> .of_match_table = of_match_ptr(pic32_wdt_dt_ids),
> }
> };
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2016-07-19 14:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-19 11:35 [PATCH -next] watchdog: pic32-wdt: Remove .owner field for driver Wei Yongjun
2016-07-19 14:31 ` Guenter Roeck [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=578E39D3.2000705@roeck-us.net \
--to=linux@roeck-us.net \
--cc=linux-watchdog@vger.kernel.org \
--cc=weiyj_lk@163.com \
--cc=wim@iguana.be \
--cc=yongjun_wei@trendmicro.com.cn \
/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;
as well as URLs for NNTP newsgroup(s).