* [PATCH -next] rtc: sd3078: fix platform_no_drv_owner.cocci warnings
@ 2019-01-23 12:44 YueHaibing
2019-01-23 14:43 ` Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-01-23 12:44 UTC (permalink / raw)
To: Dianlong Li, Alessandro Zummo, Alexandre Belloni
Cc: YueHaibing, linux-rtc, kernel-janitors
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/rtc/rtc-sd3078.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-sd3078.c b/drivers/rtc/rtc-sd3078.c
index 704844f..42cb90d 100644
--- a/drivers/rtc/rtc-sd3078.c
+++ b/drivers/rtc/rtc-sd3078.c
@@ -218,7 +218,6 @@ static int sd3078_probe(struct i2c_client *client,
static struct i2c_driver sd3078_driver = {
.driver = {
.name = "sd3078",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(rtc_dt_match),
},
.probe = sd3078_probe,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] rtc: sd3078: fix platform_no_drv_owner.cocci warnings
2019-01-23 12:44 [PATCH -next] rtc: sd3078: fix platform_no_drv_owner.cocci warnings YueHaibing
@ 2019-01-23 14:43 ` Alexandre Belloni
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2019-01-23 14:43 UTC (permalink / raw)
To: YueHaibing; +Cc: Dianlong Li, Alessandro Zummo, linux-rtc, kernel-janitors
On 23/01/2019 12:44:32+0000, YueHaibing wrote:
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> drivers/rtc/rtc-sd3078.c | 1 -
> 1 file changed, 1 deletion(-)
>
Applied.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-23 14:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-23 12:44 [PATCH -next] rtc: sd3078: fix platform_no_drv_owner.cocci warnings YueHaibing
2019-01-23 14:43 ` Alexandre Belloni
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).