* [PATCH -next] watchdog: pic32-wdt: Remove .owner field for driver
@ 2016-07-19 11:35 Wei Yongjun
2016-07-19 14:31 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2016-07-19 11:35 UTC (permalink / raw)
To: Wim Van Sebroeck, Guenter Roeck; +Cc: Wei Yongjun, linux-watchdog
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>
---
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),
}
};
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] watchdog: pic32-wdt: Remove .owner field for driver
2016-07-19 11:35 [PATCH -next] watchdog: pic32-wdt: Remove .owner field for driver Wei Yongjun
@ 2016-07-19 14:31 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2016-07-19 14:31 UTC (permalink / raw)
To: Wei Yongjun, Wim Van Sebroeck; +Cc: Wei Yongjun, linux-watchdog
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-19 14:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).