From: Uwe Kleine-König Date: Tue, 24 Nov 2009 21:07:23 +0000 (+0100) Subject: rtc: don't use __exit_p to wrap ds1302_rtc_remove X-Git-Tag: firefly_0821_release~9833^2~3643^2~58 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b9e05c64a02a1e699925cb49dd5542087eba0c3a;p=firefly-linux-kernel-4.4.55.git rtc: don't use __exit_p to wrap ds1302_rtc_remove The function ds1302_rtc_remove is defined using __devexit, so don't use __exit_p but __devexit_p to wrap it. Signed-off-by: Uwe Kleine-König Cc: Alessandro Zummo Cc: linux-kernel@vger.kernel.org Cc: Paul Gortmaker Cc: rtc-linux@googlegroups.com Signed-off-by: Paul Mundt --- diff --git a/drivers/rtc/rtc-ds1302.c b/drivers/rtc/rtc-ds1302.c index d490628b64da..1e73c8f42e38 100644 --- a/drivers/rtc/rtc-ds1302.c +++ b/drivers/rtc/rtc-ds1302.c @@ -201,7 +201,7 @@ static struct platform_driver ds1302_platform_driver = { .name = DRV_NAME, .owner = THIS_MODULE, }, - .remove = __exit_p(ds1302_rtc_remove), + .remove = __devexit_p(ds1302_rtc_remove), }; static int __init ds1302_rtc_init(void)