]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
parisc: rtc: platform_driver_probe() fixups
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Fri, 6 Mar 2009 14:57:06 +0000 (15:57 +0100)
committerKyle McMartin <kyle@mcmartin.ca>
Thu, 2 Apr 2009 01:05:30 +0000 (01:05 +0000)
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>
drivers/rtc/rtc-parisc.c

index 620b949e4f3d895757374c33f65c11786a651f9b..f4e871c30d25bc4a4eef9e41b378894179dfe9f0 100644 (file)
@@ -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)