drivers/rtc/rtc-da9052.c: remove empty function
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / rtc-da9055.c
index 73858ca9709a1eb6f6af06882f099fe2f9d1d930..e00642b61076e06f01971a5988cbbbcc53aebcba 100644 (file)
@@ -315,13 +315,6 @@ err_rtc:
 
 }
 
-static int da9055_rtc_remove(struct platform_device *pdev)
-{
-       platform_set_drvdata(pdev, NULL);
-
-       return 0;
-}
-
 #ifdef CONFIG_PM
 /* Turn off the alarm if it should not be a wake source. */
 static int da9055_rtc_suspend(struct device *dev)
@@ -394,7 +387,6 @@ static const struct dev_pm_ops da9055_rtc_pm_ops = {
 
 static struct platform_driver da9055_rtc_driver = {
        .probe  = da9055_rtc_probe,
-       .remove = da9055_rtc_remove,
        .driver = {
                .name   = "da9055-rtc",
                .owner  = THIS_MODULE,