summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-01-23 12:44:32 +0000
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-01-23 15:42:31 +0100
commita3b8bcbafa45b6cdcbca6beb8684c862a5a2ca61 (patch)
tree86e081de3991a1a8ce77c0c1f5b1a834deff15e3 /drivers/rtc
parent42986fb8119928d32e585c73181f39506937a3b2 (diff)
rtc: sd3078: fix platform_no_drv_owner.cocci warnings
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-sd3078.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-sd3078.c b/drivers/rtc/rtc-sd3078.c
index 704844f32b45..42cb90db7f94 100644
--- 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,