diff options
Diffstat (limited to 'drivers/rtc/rtc-spear.c')
-rw-r--r-- | drivers/rtc/rtc-spear.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-spear.c b/drivers/rtc/rtc-spear.c index 574359c48f65..c492cf0ab8cd 100644 --- a/drivers/rtc/rtc-spear.c +++ b/drivers/rtc/rtc-spear.c | |||
@@ -417,7 +417,6 @@ static int spear_rtc_probe(struct platform_device *pdev) | |||
417 | return 0; | 417 | return 0; |
418 | 418 | ||
419 | err_disable_clock: | 419 | err_disable_clock: |
420 | platform_set_drvdata(pdev, NULL); | ||
421 | clk_disable_unprepare(config->clk); | 420 | clk_disable_unprepare(config->clk); |
422 | 421 | ||
423 | return status; | 422 | return status; |