diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-03 18:06:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:53 -0400 |
commit | afdce3014002968fe5c3d97d36b71583337c5f06 (patch) | |
tree | 35356ea56584ccd12e1950301ba35f9ced3f5315 /drivers/rtc/rtc-tile.c | |
parent | d43fcab6b29b818a627501b21628967b5396b1f9 (diff) |
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.c | 9 |
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) | |||
91 | return 0; | 91 | return 0; |
92 | } | 92 | } |
93 | 93 | ||
94 | /* | ||
95 | * Device cleanup routine. | ||
96 | */ | ||
97 | static int tile_rtc_remove(struct platform_device *dev) | ||
98 | { | ||
99 | return 0; | ||
100 | } | ||
101 | |||
102 | static struct platform_driver tile_rtc_platform_driver = { | 94 | static struct platform_driver tile_rtc_platform_driver = { |
103 | .driver = { | 95 | .driver = { |
104 | .name = "rtc-tile", | 96 | .name = "rtc-tile", |
105 | .owner = THIS_MODULE, | 97 | .owner = THIS_MODULE, |
106 | }, | 98 | }, |
107 | .probe = tile_rtc_probe, | 99 | .probe = tile_rtc_probe, |
108 | .remove = tile_rtc_remove, | ||
109 | }; | 100 | }; |
110 | 101 | ||
111 | /* | 102 | /* |