aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2009-03-06 09:57:06 -0500
committerKyle McMartin <kyle@mcmartin.ca>2009-04-01 21:05:30 -0400
commit2c83071ead8e2668de69e8659944599c887a12c7 (patch)
tree01e1a0a15b77e36a7215602f7ae93e6e662b714a /drivers/rtc
parent55457161fdbdb5fe9eeb5027e720462a3fbdcb57 (diff)
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 = {
62 .name = "rtc-parisc", 62 .name = "rtc-parisc",
63 .owner = THIS_MODULE, 63 .owner = THIS_MODULE,
64 }, 64 },
65 .probe = parisc_rtc_probe, 65 .remove = __exit_p(parisc_rtc_remove),
66 .remove = __devexit_p(parisc_rtc_remove),
67}; 66};
68 67
69static int __init parisc_rtc_init(void) 68static int __init parisc_rtc_init(void)