projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7b1763
)
rtc: asm9260: remove .owner field for driver
author
Wei Yongjun
<weiyj.lk@gmail.com>
Tue, 26 Jul 2016 14:59:00 +0000
(14:59 +0000)
committer
Alexandre Belloni
<alexandre.belloni@free-electrons.com>
Wed, 27 Jul 2016 07:51:25 +0000
(09:51 +0200)
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 <weiyj.lk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-asm9260.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-asm9260.c
b/drivers/rtc/rtc-asm9260.c
index
355fdb9
..
5219916
100644
(file)
--- a/
drivers/rtc/rtc-asm9260.c
+++ b/
drivers/rtc/rtc-asm9260.c
@@
-343,7
+343,6
@@
static struct platform_driver asm9260_rtc_driver = {
.remove = asm9260_rtc_remove,
.driver = {
.name = "asm9260-rtc",
- .owner = THIS_MODULE,
.of_match_table = asm9260_dt_ids,
},
};