diff options
Diffstat (limited to 'drivers/rtc/rtc-snvs.c')
-rw-r--r-- | drivers/rtc/rtc-snvs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-snvs.c b/drivers/rtc/rtc-snvs.c index 3c0da333f465..d5ec7854a651 100644 --- a/drivers/rtc/rtc-snvs.c +++ b/drivers/rtc/rtc-snvs.c | |||
@@ -241,7 +241,7 @@ static irqreturn_t snvs_rtc_irq_handler(int irq, void *dev_id) | |||
241 | return events ? IRQ_HANDLED : IRQ_NONE; | 241 | return events ? IRQ_HANDLED : IRQ_NONE; |
242 | } | 242 | } |
243 | 243 | ||
244 | static int __devinit snvs_rtc_probe(struct platform_device *pdev) | 244 | static int snvs_rtc_probe(struct platform_device *pdev) |
245 | { | 245 | { |
246 | struct snvs_rtc_data *data; | 246 | struct snvs_rtc_data *data; |
247 | struct resource *res; | 247 | struct resource *res; |
@@ -294,7 +294,7 @@ static int __devinit snvs_rtc_probe(struct platform_device *pdev) | |||
294 | return 0; | 294 | return 0; |
295 | } | 295 | } |
296 | 296 | ||
297 | static int __devexit snvs_rtc_remove(struct platform_device *pdev) | 297 | static int snvs_rtc_remove(struct platform_device *pdev) |
298 | { | 298 | { |
299 | struct snvs_rtc_data *data = platform_get_drvdata(pdev); | 299 | struct snvs_rtc_data *data = platform_get_drvdata(pdev); |
300 | 300 | ||
@@ -327,7 +327,7 @@ static int snvs_rtc_resume(struct device *dev) | |||
327 | 327 | ||
328 | static SIMPLE_DEV_PM_OPS(snvs_rtc_pm_ops, snvs_rtc_suspend, snvs_rtc_resume); | 328 | static SIMPLE_DEV_PM_OPS(snvs_rtc_pm_ops, snvs_rtc_suspend, snvs_rtc_resume); |
329 | 329 | ||
330 | static const struct of_device_id __devinitconst snvs_dt_ids[] = { | 330 | static const struct of_device_id snvs_dt_ids[] = { |
331 | { .compatible = "fsl,sec-v4.0-mon-rtc-lp", }, | 331 | { .compatible = "fsl,sec-v4.0-mon-rtc-lp", }, |
332 | { /* sentinel */ } | 332 | { /* sentinel */ } |
333 | }; | 333 | }; |
@@ -341,7 +341,7 @@ static struct platform_driver snvs_rtc_driver = { | |||
341 | .of_match_table = snvs_dt_ids, | 341 | .of_match_table = snvs_dt_ids, |
342 | }, | 342 | }, |
343 | .probe = snvs_rtc_probe, | 343 | .probe = snvs_rtc_probe, |
344 | .remove = __devexit_p(snvs_rtc_remove), | 344 | .remove = snvs_rtc_remove, |
345 | }; | 345 | }; |
346 | module_platform_driver(snvs_rtc_driver); | 346 | module_platform_driver(snvs_rtc_driver); |
347 | 347 | ||