diff options
Diffstat (limited to 'drivers/rtc/rtc-ab3100.c')
-rw-r--r-- | drivers/rtc/rtc-ab3100.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/rtc/rtc-ab3100.c b/drivers/rtc/rtc-ab3100.c index 47a4f2c4d30e..ff435343ba9f 100644 --- a/drivers/rtc/rtc-ab3100.c +++ b/drivers/rtc/rtc-ab3100.c | |||
@@ -240,18 +240,11 @@ static int __init ab3100_rtc_probe(struct platform_device *pdev) | |||
240 | return 0; | 240 | return 0; |
241 | } | 241 | } |
242 | 242 | ||
243 | static int __exit ab3100_rtc_remove(struct platform_device *pdev) | ||
244 | { | ||
245 | platform_set_drvdata(pdev, NULL); | ||
246 | return 0; | ||
247 | } | ||
248 | |||
249 | static struct platform_driver ab3100_rtc_driver = { | 243 | static struct platform_driver ab3100_rtc_driver = { |
250 | .driver = { | 244 | .driver = { |
251 | .name = "ab3100-rtc", | 245 | .name = "ab3100-rtc", |
252 | .owner = THIS_MODULE, | 246 | .owner = THIS_MODULE, |
253 | }, | 247 | }, |
254 | .remove = __exit_p(ab3100_rtc_remove), | ||
255 | }; | 248 | }; |
256 | 249 | ||
257 | module_platform_driver_probe(ab3100_rtc_driver, ab3100_rtc_probe); | 250 | module_platform_driver_probe(ab3100_rtc_driver, ab3100_rtc_probe); |