summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-tile.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-04 00:06:47 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 01:07:53 +0200
commitafdce3014002968fe5c3d97d36b71583337c5f06 (patch)
tree35356ea56584ccd12e1950301ba35f9ced3f5315 /drivers/rtc/rtc-tile.c
parentdrivers/rtc/rtc-m48t86.c: remove empty function (diff)
downloadlinux-afdce3014002968fe5c3d97d36b71583337c5f06.tar.xz
linux-afdce3014002968fe5c3d97d36b71583337c5f06.zip
drivers/rtc/rtc-tile.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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/rtc/rtc-tile.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/rtc/rtc-tile.c b/drivers/rtc/rtc-tile.c
index b3bb32c43254..ff9632eb79f2 100644
--- a/drivers/rtc/rtc-tile.c
+++ b/drivers/rtc/rtc-tile.c
@@ -91,21 +91,12 @@ static int tile_rtc_probe(struct platform_device *dev)
return 0;
}
-/*
- * Device cleanup routine.
- */
-static int tile_rtc_remove(struct platform_device *dev)
-{
- return 0;
-}
-
static struct platform_driver tile_rtc_platform_driver = {
.driver = {
.name = "rtc-tile",
.owner = THIS_MODULE,
},
.probe = tile_rtc_probe,
- .remove = tile_rtc_remove,
};
/*