aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mc13xxx.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-04-03 17:49:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 19:21:20 -0400
commit77bf2ea8de78ce7dd842409a847b888e720f62d8 (patch)
tree7557ff864cdf524b132e0f9d455f18c61403fd13 /drivers/rtc/rtc-mc13xxx.c
parent1d1945d261a2af4e1ddaf609308c30b83143c2da (diff)
rtc: mc13xxx: remove __exit_p()
Since we no longer allow building without hotplug, the mc13xxx_rtc_remove() function is always present and we should not use __exit_p() to refer to it. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-mc13xxx.c')
-rw-r--r--drivers/rtc/rtc-mc13xxx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c
index 77ea9896b5ba..480d51f71064 100644
--- a/drivers/rtc/rtc-mc13xxx.c
+++ b/drivers/rtc/rtc-mc13xxx.c
@@ -375,7 +375,7 @@ err_reset_irq_request:
375 return ret; 375 return ret;
376} 376}
377 377
378static int __exit mc13xxx_rtc_remove(struct platform_device *pdev) 378static int mc13xxx_rtc_remove(struct platform_device *pdev)
379{ 379{
380 struct mc13xxx_rtc *priv = platform_get_drvdata(pdev); 380 struct mc13xxx_rtc *priv = platform_get_drvdata(pdev);
381 381
@@ -404,7 +404,7 @@ MODULE_DEVICE_TABLE(platform, mc13xxx_rtc_idtable);
404 404
405static struct platform_driver mc13xxx_rtc_driver = { 405static struct platform_driver mc13xxx_rtc_driver = {
406 .id_table = mc13xxx_rtc_idtable, 406 .id_table = mc13xxx_rtc_idtable,
407 .remove = __exit_p(mc13xxx_rtc_remove), 407 .remove = mc13xxx_rtc_remove,
408 .driver = { 408 .driver = {
409 .name = DRIVER_NAME, 409 .name = DRIVER_NAME,
410 .owner = THIS_MODULE, 410 .owner = THIS_MODULE,