aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-at91rm9200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-at91rm9200.c')
-rw-r--r--drivers/rtc/rtc-at91rm9200.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c
index f296f3f7db9b..741892632ae0 100644
--- a/drivers/rtc/rtc-at91rm9200.c
+++ b/drivers/rtc/rtc-at91rm9200.c
@@ -31,8 +31,7 @@
31#include <linux/io.h> 31#include <linux/io.h>
32#include <linux/of.h> 32#include <linux/of.h>
33#include <linux/of_device.h> 33#include <linux/of_device.h>
34 34#include <linux/uaccess.h>
35#include <asm/uaccess.h>
36 35
37#include "rtc-at91rm9200.h" 36#include "rtc-at91rm9200.h"
38 37
@@ -439,7 +438,6 @@ static int __exit at91_rtc_remove(struct platform_device *pdev)
439 438
440 rtc_device_unregister(rtc); 439 rtc_device_unregister(rtc);
441 iounmap(at91_rtc_regs); 440 iounmap(at91_rtc_regs);
442 platform_set_drvdata(pdev, NULL);
443 441
444 return 0; 442 return 0;
445} 443}