aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorYang Li2022-05-19 07:24:45 +0800
committerAlexandre Belloni2022-05-19 11:19:30 +0200
commite60e8a73235ce5d42a2891c6989e8df1c8888c4a (patch)
tree5c8b516726139861ce3fc2b2a63376c5bcb102fe /drivers/rtc
parent6ddabcb106280db0f7344850adfce3dd6b171cbd (diff)
rtc: rzn1: fix platform_no_drv_owner.cocci warning
Remove .owner field if calls are used which set it automatically. ./drivers/rtc/rtc-rzn1.c:411:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220518232445.79156-1-yang.lee@linux.alibaba.com
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-rzn1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rzn1.c b/drivers/rtc/rtc-rzn1.c
index 980ade8c9601..f92d1398b0f1 100644
--- a/drivers/rtc/rtc-rzn1.c
+++ b/drivers/rtc/rtc-rzn1.c
@@ -408,7 +408,6 @@ static struct platform_driver rzn1_rtc_driver = {
.remove = rzn1_rtc_remove,
.driver = {
.name = "rzn1-rtc",
- .owner = THIS_MODULE,
.of_match_table = rzn1_rtc_of_match,
},
};