aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 18:07:29 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:07:57 -0400
commit17d9e04c62c2980bf36c846541282204b22c1bf2 (patch)
tree4b77f41945ecbff881b8c289abf01c1808511bfd /drivers/rtc
parenta1396d9f127952a09a40c8cd3285ff9d062282a0 (diff)
drivers/rtc/rtc-max8907.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')
-rw-r--r--drivers/rtc/rtc-max8907.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-max8907.c b/drivers/rtc/rtc-max8907.c
index 86afb797125d..8e45b3c4aa2f 100644
--- a/drivers/rtc/rtc-max8907.c
+++ b/drivers/rtc/rtc-max8907.c
@@ -213,18 +213,12 @@ static int max8907_rtc_probe(struct platform_device *pdev)
213 return ret; 213 return ret;
214} 214}
215 215
216static int max8907_rtc_remove(struct platform_device *pdev)
217{
218 return 0;
219}
220
221static struct platform_driver max8907_rtc_driver = { 216static struct platform_driver max8907_rtc_driver = {
222 .driver = { 217 .driver = {
223 .name = "max8907-rtc", 218 .name = "max8907-rtc",
224 .owner = THIS_MODULE, 219 .owner = THIS_MODULE,
225 }, 220 },
226 .probe = max8907_rtc_probe, 221 .probe = max8907_rtc_probe,
227 .remove = max8907_rtc_remove,
228}; 222};
229module_platform_driver(max8907_rtc_driver); 223module_platform_driver(max8907_rtc_driver);
230 224