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:
7deef7f
)
drivers/rtc/rtc-wm831x.c: remove empty function
author
Sachin Kamat
<
[email protected]
>
Wed, 3 Jul 2013 22:07:44 +0000
(15:07 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 3 Jul 2013 23:07:59 +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]
>
Acked-by: Mark Brown <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-wm831x.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-wm831x.c
b/drivers/rtc/rtc-wm831x.c
index 8d65b94e5a7eb428fccfadf3d3db77f38a22f1ed..75aea4c4d334bbaef61d8325762b223fa8735e8b 100644
(file)
--- a/
drivers/rtc/rtc-wm831x.c
+++ b/
drivers/rtc/rtc-wm831x.c
@@
-460,11
+460,6
@@
err:
return ret;
}
-static int wm831x_rtc_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static const struct dev_pm_ops wm831x_rtc_pm_ops = {
.suspend = wm831x_rtc_suspend,
.resume = wm831x_rtc_resume,
@@
-478,7
+473,6
@@
static const struct dev_pm_ops wm831x_rtc_pm_ops = {
static struct platform_driver wm831x_rtc_driver = {
.probe = wm831x_rtc_probe,
- .remove = wm831x_rtc_remove,
.driver = {
.name = "wm831x-rtc",
.pm = &wm831x_rtc_pm_ops,