aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 18:06:51 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:07:53 -0400
commit7f9833cdf642ade8a99d7979a7128b9288234d95 (patch)
tree44f458f4151189508a4c4b607220134b5ba16229 /drivers/rtc
parentce06cc82d7cb5445d0c01c980433ada4ab0f2847 (diff)
drivers/rtc/rtc-ls1x.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> Cc: zhao zhang <zhzhl555@gmail.com> 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-ls1x.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-ls1x.c b/drivers/rtc/rtc-ls1x.c
index e913f38bd33d..682ecb094839 100644
--- a/drivers/rtc/rtc-ls1x.c
+++ b/drivers/rtc/rtc-ls1x.c
@@ -185,17 +185,11 @@ err:
185 return ret; 185 return ret;
186} 186}
187 187
188static int ls1x_rtc_remove(struct platform_device *pdev)
189{
190 return 0;
191}
192
193static struct platform_driver ls1x_rtc_driver = { 188static struct platform_driver ls1x_rtc_driver = {
194 .driver = { 189 .driver = {
195 .name = "ls1x-rtc", 190 .name = "ls1x-rtc",
196 .owner = THIS_MODULE, 191 .owner = THIS_MODULE,
197 }, 192 },
198 .remove = ls1x_rtc_remove,
199 .probe = ls1x_rtc_probe, 193 .probe = ls1x_rtc_probe,
200}; 194};
201 195