From: Geert Uytterhoeven Date: Fri, 6 Mar 2009 14:57:06 +0000 (+0100) Subject: parisc: rtc: platform_driver_probe() fixups X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c83071ead8e2668de69e8659944599c887a12c7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Acked-by: Alessandro Zummo Cc: dann frazier Signed-off-by: Kyle McMartin --- 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)