diff options
-rw-r--r-- | drivers/rtc/rtc-ab8500.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index 63cfa314a39f..c5b62d4389ee 100644 --- a/drivers/rtc/rtc-ab8500.c +++ b/drivers/rtc/rtc-ab8500.c | |||
@@ -451,8 +451,6 @@ static int ab8500_rtc_remove(struct platform_device *pdev) | |||
451 | { | 451 | { |
452 | ab8500_sysfs_rtc_unregister(&pdev->dev); | 452 | ab8500_sysfs_rtc_unregister(&pdev->dev); |
453 | 453 | ||
454 | platform_set_drvdata(pdev, NULL); | ||
455 | |||
456 | return 0; | 454 | return 0; |
457 | } | 455 | } |
458 | 456 | ||