projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d1945d
)
rtc: mc13xxx: remove __exit_p()
author
Alexander Shiyan
<
[email protected]
>
Thu, 3 Apr 2014 21:49:56 +0000
(14:49 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 3 Apr 2014 23:21:20 +0000
(16:21 -0700)
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 <
[email protected]
>
Cc: Uwe Kleine-König <
[email protected]
>
Cc: Sascha Hauer <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-mc13xxx.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-mc13xxx.c
b/drivers/rtc/rtc-mc13xxx.c
index 77ea9896b5bab48ab7c8873cabddde95eb0cb901..480d51f71064e0872af93a293dd05263dc6cff05 100644
(file)
--- a/
drivers/rtc/rtc-mc13xxx.c
+++ b/
drivers/rtc/rtc-mc13xxx.c
@@
-375,7
+375,7
@@
err_reset_irq_request:
return ret;
}
-static int
__exit
mc13xxx_rtc_remove(struct platform_device *pdev)
+static int mc13xxx_rtc_remove(struct platform_device *pdev)
{
struct mc13xxx_rtc *priv = platform_get_drvdata(pdev);
@@
-404,7
+404,7
@@
MODULE_DEVICE_TABLE(platform, mc13xxx_rtc_idtable);
static struct platform_driver mc13xxx_rtc_driver = {
.id_table = mc13xxx_rtc_idtable,
- .remove =
__exit_p(mc13xxx_rtc_remove)
,
+ .remove =
mc13xxx_rtc_remove
,
.driver = {
.name = DRIVER_NAME,
.owner = THIS_MODULE,