summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1216.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-04 00:07:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 01:07:55 +0200
commit0df2c54e8e3e7befb7a484d55d781b4e6ba17d83 (patch)
tree75a7ae4b181dea37924762d9fb7b80b3d3b356f2 /drivers/rtc/rtc-ds1216.c
parentdrivers/rtc/rtc-bq32k.c: remove empty function (diff)
downloadlinux-0df2c54e8e3e7befb7a484d55d781b4e6ba17d83.tar.xz
linux-0df2c54e8e3e7befb7a484d55d781b4e6ba17d83.zip
drivers/rtc/rtc-ds1216.c: remove empty function
After the switch to devm_* functions and the removal of rtc_device_unregister(), the 'remove' function does not do anything. Delete it. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.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-ds1216.c')
-rw-r--r--drivers/rtc/rtc-ds1216.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-ds1216.c b/drivers/rtc/rtc-ds1216.c
index c7702b7269f7..1831c8461b90 100644
--- a/drivers/rtc/rtc-ds1216.c
+++ b/drivers/rtc/rtc-ds1216.c
@@ -167,17 +167,11 @@ static int __init ds1216_rtc_probe(struct platform_device *pdev)
return 0;
}
-static int __exit ds1216_rtc_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static struct platform_driver ds1216_rtc_platform_driver = {
.driver = {
.name = "rtc-ds1216",
.owner = THIS_MODULE,
},
- .remove = __exit_p(ds1216_rtc_remove),
};
static int __init ds1216_rtc_init(void)