projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42986fb
)
rtc: sd3078: fix platform_no_drv_owner.cocci warnings
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 23 Jan 2019 12:44:32 +0000
(12:44 +0000)
committer
Alexandre Belloni
<alexandre.belloni@bootlin.com>
Wed, 23 Jan 2019 14:42:31 +0000
(15:42 +0100)
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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sd3078.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-sd3078.c
b/drivers/rtc/rtc-sd3078.c
index
704844f
..
42cb90d
100644
(file)
--- a/
drivers/rtc/rtc-sd3078.c
+++ b/
drivers/rtc/rtc-sd3078.c
@@
-218,7
+218,6
@@
MODULE_DEVICE_TABLE(of, rtc_dt_match);
static struct i2c_driver sd3078_driver = {
.driver = {
.name = "sd3078",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(rtc_dt_match),
},
.probe = sd3078_probe,