summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-lp8788.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-lp8788.c')
-rw-r--r--drivers/rtc/rtc-lp8788.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/rtc/rtc-lp8788.c b/drivers/rtc/rtc-lp8788.c
index 9853ac15b296..4ff6c73253b3 100644
--- a/drivers/rtc/rtc-lp8788.c
+++ b/drivers/rtc/rtc-lp8788.c
@@ -312,16 +312,8 @@ static int lp8788_rtc_probe(struct platform_device *pdev)
312 return 0; 312 return 0;
313} 313}
314 314
315static int lp8788_rtc_remove(struct platform_device *pdev)
316{
317 platform_set_drvdata(pdev, NULL);
318
319 return 0;
320}
321
322static struct platform_driver lp8788_rtc_driver = { 315static struct platform_driver lp8788_rtc_driver = {
323 .probe = lp8788_rtc_probe, 316 .probe = lp8788_rtc_probe,
324 .remove = lp8788_rtc_remove,
325 .driver = { 317 .driver = {
326 .name = LP8788_DEV_RTC, 318 .name = LP8788_DEV_RTC,
327 .owner = THIS_MODULE, 319 .owner = THIS_MODULE,