summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-tile.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 15:06:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 16:07:53 -0700
commitafdce3014002968fe5c3d97d36b71583337c5f06 (patch)
tree35356ea56584ccd12e1950301ba35f9ced3f5315 /drivers/rtc/rtc-tile.c
parentd43fcab6b29b818a627501b21628967b5396b1f9 (diff)
downloadtalos-obmc-linux-afdce3014002968fe5c3d97d36b71583337c5f06.tar.gz
talos-obmc-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 'drivers/rtc/rtc-tile.c')
-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,
};
/*
OpenPOWER on IntegriCloud