aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-tile.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-tile.c')
-rw-r--r--drivers/rtc/rtc-tile.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/rtc/rtc-tile.c b/drivers/rtc/rtc-tile.c
index fc3dee95f166..ff9632eb79f2 100644
--- a/drivers/rtc/rtc-tile.c
+++ b/drivers/rtc/rtc-tile.c
@@ -91,23 +91,12 @@ static int tile_rtc_probe(struct platform_device *dev)
91 return 0; 91 return 0;
92} 92}
93 93
94/*
95 * Device cleanup routine.
96 */
97static int tile_rtc_remove(struct platform_device *dev)
98{
99 platform_set_drvdata(dev, NULL);
100
101 return 0;
102}
103
104static struct platform_driver tile_rtc_platform_driver = { 94static struct platform_driver tile_rtc_platform_driver = {
105 .driver = { 95 .driver = {
106 .name = "rtc-tile", 96 .name = "rtc-tile",
107 .owner = THIS_MODULE, 97 .owner = THIS_MODULE,
108 }, 98 },
109 .probe = tile_rtc_probe, 99 .probe = tile_rtc_probe,
110 .remove = tile_rtc_remove,
111}; 100};
112 101
113/* 102/*