drivers/rtc/rtc-rv3029c2.c: fix disabling AIE irq
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / rtc-au1xxx.c
index 7995abc391fcdec48b78fd569e1faccef97d8674..7c6e7bb4cf0062cbe475c8161b1ce8b29cf0c3ce 100644 (file)
@@ -118,8 +118,6 @@ out_err:
 
 static int au1xtoy_rtc_remove(struct platform_device *pdev)
 {
-       platform_set_drvdata(pdev, NULL);
-
        return 0;
 }