summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-04 02:07:24 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 03:07:57 +0400
commit40ac8729ea4cc383d62046620f33b205a28391ba (patch)
tree960ff346e6b5a6a15a4a8b35758bad1591d98b8c
parentd95c616352e19e735f6d1578f64f586a87eb2004 (diff)
downloadlinux-40ac8729ea4cc383d62046620f33b205a28391ba.tar.xz
drivers/rtc/rtc-m48t35.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>
-rw-r--r--drivers/rtc/rtc-m48t35.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-m48t35.c b/drivers/rtc/rtc-m48t35.c
index 37444246e5e4..25678d4ee3b5 100644
--- a/drivers/rtc/rtc-m48t35.c
+++ b/drivers/rtc/rtc-m48t35.c
@@ -180,18 +180,12 @@ static int m48t35_probe(struct platform_device *pdev)
return 0;
}
-static int m48t35_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static struct platform_driver m48t35_platform_driver = {
.driver = {
.name = "rtc-m48t35",
.owner = THIS_MODULE,
},
.probe = m48t35_probe,
- .remove = m48t35_remove,
};
module_platform_driver(m48t35_platform_driver);