summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2009-03-06 17:57:06 +0300
committerKyle McMartin <kyle@mcmartin.ca>2009-04-02 05:05:30 +0400
commit2c83071ead8e2668de69e8659944599c887a12c7 (patch)
tree01e1a0a15b77e36a7215602f7ae93e6e662b714a /drivers/rtc
parent55457161fdbdb5fe9eeb5027e720462a3fbdcb57 (diff)
downloadlinux-2c83071ead8e2668de69e8659944599c887a12c7.tar.xz
parisc: rtc: platform_driver_probe() fixups
When using platform_driver_probe(), it's not needed to setup a .probe function, and .remove should be marked __exit_p(), not __devexit_p(). Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Cc: dann frazier <dannf@hp.com> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-parisc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-parisc.c b/drivers/rtc/rtc-parisc.c
index 620b949e4f3d..f4e871c30d25 100644
--- a/drivers/rtc/rtc-parisc.c
+++ b/drivers/rtc/rtc-parisc.c
@@ -62,8 +62,7 @@ static struct platform_driver parisc_rtc_driver = {
.name = "rtc-parisc",
.owner = THIS_MODULE,
},
- .probe = parisc_rtc_probe,
- .remove = __devexit_p(parisc_rtc_remove),
+ .remove = __exit_p(parisc_rtc_remove),
};
static int __init parisc_rtc_init(void)