Merge tag 'md-3.11' of git://neil.brown.name/md
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / rtc-nuc900.c
index d592e2fe43f7a7fd29be1592080c03d854ed22d3..22861c5e0c596fff3c87182b1beb1f1c9cdaf109 100644 (file)
@@ -260,15 +260,7 @@ static int __init nuc900_rtc_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __exit nuc900_rtc_remove(struct platform_device *pdev)
-{
-       platform_set_drvdata(pdev, NULL);
-
-       return 0;
-}
-
 static struct platform_driver nuc900_rtc_driver = {
-       .remove         = __exit_p(nuc900_rtc_remove),
        .driver         = {
                .name   = "nuc900-rtc",
                .owner  = THIS_MODULE,