projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
164b864
)
drivers/rtc/rtc-rs5c313.c: remove empty function
author
Sachin Kamat
<
[email protected]
>
Wed, 3 Jul 2013 22:07:36 +0000
(15:07 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 3 Jul 2013 23:07:58 +0000
(16:07 -0700)
After the switch to devm_* functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.
Signed-off-by: Sachin Kamat <
[email protected]
>
Cc: Nobuhiro Iwamatsu <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-rs5c313.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-rs5c313.c
b/drivers/rtc/rtc-rs5c313.c
index 6af0f1f95f63852efb67b37d9511fc68580c60c8..68f7856422f16c8c0858268f7bf7f31160d455db 100644
(file)
--- a/
drivers/rtc/rtc-rs5c313.c
+++ b/
drivers/rtc/rtc-rs5c313.c
@@
-378,18
+378,12
@@
static int rs5c313_rtc_probe(struct platform_device *pdev)
return 0;
}
-static int rs5c313_rtc_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static struct platform_driver rs5c313_rtc_platform_driver = {
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
},
.probe = rs5c313_rtc_probe,
- .remove = rs5c313_rtc_remove,
};
static int __init rs5c313_rtc_init(void)