diff options
Diffstat (limited to 'drivers/rtc/rtc-ds1305.c')
-rw-r--r-- | drivers/rtc/rtc-ds1305.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1305.c b/drivers/rtc/rtc-ds1305.c index 80f323731ee2..2dd586a19b59 100644 --- a/drivers/rtc/rtc-ds1305.c +++ b/drivers/rtc/rtc-ds1305.c | |||
@@ -787,7 +787,6 @@ static int ds1305_remove(struct spi_device *spi) | |||
787 | cancel_work_sync(&ds1305->work); | 787 | cancel_work_sync(&ds1305->work); |
788 | } | 788 | } |
789 | 789 | ||
790 | spi_set_drvdata(spi, NULL); | ||
791 | return 0; | 790 | return 0; |
792 | } | 791 | } |
793 | 792 | ||