aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ls1x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-ls1x.c')
-rw-r--r--drivers/rtc/rtc-ls1x.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/rtc/rtc-ls1x.c b/drivers/rtc/rtc-ls1x.c
index db82f91f4562..682ecb094839 100644
--- a/drivers/rtc/rtc-ls1x.c
+++ b/drivers/rtc/rtc-ls1x.c
@@ -185,19 +185,11 @@ err:
185 return ret; 185 return ret;
186} 186}
187 187
188static int ls1x_rtc_remove(struct platform_device *pdev)
189{
190 platform_set_drvdata(pdev, NULL);
191
192 return 0;
193}
194
195static struct platform_driver ls1x_rtc_driver = { 188static struct platform_driver ls1x_rtc_driver = {
196 .driver = { 189 .driver = {
197 .name = "ls1x-rtc", 190 .name = "ls1x-rtc",
198 .owner = THIS_MODULE, 191 .owner = THIS_MODULE,
199 }, 192 },
200 .remove = ls1x_rtc_remove,
201 .probe = ls1x_rtc_probe, 193 .probe = ls1x_rtc_probe,
202}; 194};
203 195