rtc: rtc-twl: remove unnecessary platform_set_drvdata()
[linux-2.6-microblaze.git] / drivers / rtc / rtc-twl.c
index b2eab34..52843d0 100644 (file)
@@ -556,7 +556,6 @@ static int twl_rtc_remove(struct platform_device *pdev)
        free_irq(irq, rtc);
 
        rtc_device_unregister(rtc);
-       platform_set_drvdata(pdev, NULL);
        return 0;
 }