diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2009-03-06 15:57:06 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-04-02 01:05:30 +0000 |
commit | 2c83071ead8e2668de69e8659944599c887a12c7 (patch) | |
tree | 01e1a0a15b77e36a7215602f7ae93e6e662b714a /drivers/rtc | |
parent | 55457161fdbdb5fe9eeb5027e720462a3fbdcb57 (diff) | |
download | linux-2c83071ead8e2668de69e8659944599c887a12c7.tar.gz linux-2c83071ead8e2668de69e8659944599c887a12c7.tar.bz2 linux-2c83071ead8e2668de69e8659944599c887a12c7.zip |
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.c | 3 |
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) |