diff options
Diffstat (limited to 'drivers/rtc/rtc-sh.c')
-rw-r--r-- | drivers/rtc/rtc-sh.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c index 8d5bd2e36776..cb2f8399d692 100644 --- a/drivers/rtc/rtc-sh.c +++ b/drivers/rtc/rtc-sh.c | |||
@@ -770,8 +770,6 @@ static int __exit sh_rtc_remove(struct platform_device *pdev) | |||
770 | clk_disable(rtc->clk); | 770 | clk_disable(rtc->clk); |
771 | clk_put(rtc->clk); | 771 | clk_put(rtc->clk); |
772 | 772 | ||
773 | platform_set_drvdata(pdev, NULL); | ||
774 | |||
775 | kfree(rtc); | 773 | kfree(rtc); |
776 | 774 | ||
777 | return 0; | 775 | return 0; |