aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/rtc/rtc-sun4v.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-sun4v.c b/drivers/rtc/rtc-sun4v.c
index ce42e5fa9e09..bc97ff91341d 100644
--- a/drivers/rtc/rtc-sun4v.c
+++ b/drivers/rtc/rtc-sun4v.c
@@ -92,17 +92,11 @@ static int __init sun4v_rtc_probe(struct platform_device *pdev)
92 return 0; 92 return 0;
93} 93}
94 94
95static int __exit sun4v_rtc_remove(struct platform_device *pdev)
96{
97 return 0;
98}
99
100static struct platform_driver sun4v_rtc_driver = { 95static struct platform_driver sun4v_rtc_driver = {
101 .driver = { 96 .driver = {
102 .name = "rtc-sun4v", 97 .name = "rtc-sun4v",
103 .owner = THIS_MODULE, 98 .owner = THIS_MODULE,
104 }, 99 },
105 .remove = __exit_p(sun4v_rtc_remove),
106}; 100};
107 101
108module_platform_driver_probe(sun4v_rtc_driver, sun4v_rtc_probe); 102module_platform_driver_probe(sun4v_rtc_driver, sun4v_rtc_probe);