aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-da9055.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-da9055.c')
-rw-r--r--drivers/rtc/rtc-da9055.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/rtc/rtc-da9055.c b/drivers/rtc/rtc-da9055.c
index 73858ca9709a..e00642b61076 100644
--- a/drivers/rtc/rtc-da9055.c
+++ b/drivers/rtc/rtc-da9055.c
@@ -315,13 +315,6 @@ err_rtc:
315 315
316} 316}
317 317
318static int da9055_rtc_remove(struct platform_device *pdev)
319{
320 platform_set_drvdata(pdev, NULL);
321
322 return 0;
323}
324
325#ifdef CONFIG_PM 318#ifdef CONFIG_PM
326/* Turn off the alarm if it should not be a wake source. */ 319/* Turn off the alarm if it should not be a wake source. */
327static int da9055_rtc_suspend(struct device *dev) 320static int da9055_rtc_suspend(struct device *dev)
@@ -394,7 +387,6 @@ static const struct dev_pm_ops da9055_rtc_pm_ops = {
394 387
395static struct platform_driver da9055_rtc_driver = { 388static struct platform_driver da9055_rtc_driver = {
396 .probe = da9055_rtc_probe, 389 .probe = da9055_rtc_probe,
397 .remove = da9055_rtc_remove,
398 .driver = { 390 .driver = {
399 .name = "da9055-rtc", 391 .name = "da9055-rtc",
400 .owner = THIS_MODULE, 392 .owner = THIS_MODULE,