diff options
Diffstat (limited to 'drivers/rtc/rtc-twl.c')
-rw-r--r-- | drivers/rtc/rtc-twl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c index b2eab34f38d9..52843d0132be 100644 --- a/drivers/rtc/rtc-twl.c +++ b/drivers/rtc/rtc-twl.c | |||
@@ -556,7 +556,6 @@ static int twl_rtc_remove(struct platform_device *pdev) | |||
556 | free_irq(irq, rtc); | 556 | free_irq(irq, rtc); |
557 | 557 | ||
558 | rtc_device_unregister(rtc); | 558 | rtc_device_unregister(rtc); |
559 | platform_set_drvdata(pdev, NULL); | ||
560 | return 0; | 559 | return 0; |
561 | } | 560 | } |
562 | 561 | ||