]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/rtc/rtc-at91rm9200.c
rtc: rtc-at91rm9200: remove unnecessary platform_set_drvdata()
[karo-tx-linux.git] / drivers / rtc / rtc-at91rm9200.c
index e87a81c8678ebbface8d83e3324cc507c2068732..741892632ae09ef4c561e6ee0801d6ea0cec435f 100644 (file)
@@ -438,7 +438,6 @@ static int __exit at91_rtc_remove(struct platform_device *pdev)
 
        rtc_device_unregister(rtc);
        iounmap(at91_rtc_regs);
-       platform_set_drvdata(pdev, NULL);
 
        return 0;
 }