diff options
Diffstat (limited to 'drivers/rtc/rtc-nuc900.c')
-rw-r--r-- | drivers/rtc/rtc-nuc900.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/rtc/rtc-nuc900.c b/drivers/rtc/rtc-nuc900.c index d592e2fe43f7..22861c5e0c59 100644 --- a/drivers/rtc/rtc-nuc900.c +++ b/drivers/rtc/rtc-nuc900.c | |||
@@ -260,15 +260,7 @@ static int __init nuc900_rtc_probe(struct platform_device *pdev) | |||
260 | return 0; | 260 | return 0; |
261 | } | 261 | } |
262 | 262 | ||
263 | static int __exit nuc900_rtc_remove(struct platform_device *pdev) | ||
264 | { | ||
265 | platform_set_drvdata(pdev, NULL); | ||
266 | |||
267 | return 0; | ||
268 | } | ||
269 | |||
270 | static struct platform_driver nuc900_rtc_driver = { | 263 | static struct platform_driver nuc900_rtc_driver = { |
271 | .remove = __exit_p(nuc900_rtc_remove), | ||
272 | .driver = { | 264 | .driver = { |
273 | .name = "nuc900-rtc", | 265 | .name = "nuc900-rtc", |
274 | .owner = THIS_MODULE, | 266 | .owner = THIS_MODULE, |