aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-bfin.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-bfin.c')
-rw-r--r--drivers/rtc/rtc-bfin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c
index ad44ec5dc29a..0c53f452849d 100644
--- a/drivers/rtc/rtc-bfin.c
+++ b/drivers/rtc/rtc-bfin.c
@@ -391,7 +391,6 @@ static int bfin_rtc_remove(struct platform_device *pdev)
391 struct device *dev = &pdev->dev; 391 struct device *dev = &pdev->dev;
392 392
393 bfin_rtc_reset(dev, 0); 393 bfin_rtc_reset(dev, 0);
394 platform_set_drvdata(pdev, NULL);
395 394
396 return 0; 395 return 0;
397} 396}