diff options
Diffstat (limited to 'drivers/rtc/rtc-88pm860x.c')
-rw-r--r-- | drivers/rtc/rtc-88pm860x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/rtc/rtc-88pm860x.c b/drivers/rtc/rtc-88pm860x.c index de9e854b326a..f663746f4603 100644 --- a/drivers/rtc/rtc-88pm860x.c +++ b/drivers/rtc/rtc-88pm860x.c | |||
@@ -286,8 +286,8 @@ out: | |||
286 | #endif | 286 | #endif |
287 | 287 | ||
288 | #ifdef CONFIG_OF | 288 | #ifdef CONFIG_OF |
289 | static int __devinit pm860x_rtc_dt_init(struct platform_device *pdev, | 289 | static int pm860x_rtc_dt_init(struct platform_device *pdev, |
290 | struct pm860x_rtc_info *info) | 290 | struct pm860x_rtc_info *info) |
291 | { | 291 | { |
292 | struct device_node *np = pdev->dev.parent->of_node; | 292 | struct device_node *np = pdev->dev.parent->of_node; |
293 | int ret; | 293 | int ret; |
@@ -307,7 +307,7 @@ static int __devinit pm860x_rtc_dt_init(struct platform_device *pdev, | |||
307 | #define pm860x_rtc_dt_init(x, y) (-1) | 307 | #define pm860x_rtc_dt_init(x, y) (-1) |
308 | #endif | 308 | #endif |
309 | 309 | ||
310 | static int __devinit pm860x_rtc_probe(struct platform_device *pdev) | 310 | static int pm860x_rtc_probe(struct platform_device *pdev) |
311 | { | 311 | { |
312 | struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); | 312 | struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); |
313 | struct pm860x_rtc_pdata *pdata = NULL; | 313 | struct pm860x_rtc_pdata *pdata = NULL; |
@@ -412,7 +412,7 @@ out: | |||
412 | return ret; | 412 | return ret; |
413 | } | 413 | } |
414 | 414 | ||
415 | static int __devexit pm860x_rtc_remove(struct platform_device *pdev) | 415 | static int pm860x_rtc_remove(struct platform_device *pdev) |
416 | { | 416 | { |
417 | struct pm860x_rtc_info *info = platform_get_drvdata(pdev); | 417 | struct pm860x_rtc_info *info = platform_get_drvdata(pdev); |
418 | 418 | ||
@@ -459,7 +459,7 @@ static struct platform_driver pm860x_rtc_driver = { | |||
459 | .pm = &pm860x_rtc_pm_ops, | 459 | .pm = &pm860x_rtc_pm_ops, |
460 | }, | 460 | }, |
461 | .probe = pm860x_rtc_probe, | 461 | .probe = pm860x_rtc_probe, |
462 | .remove = __devexit_p(pm860x_rtc_remove), | 462 | .remove = pm860x_rtc_remove, |
463 | }; | 463 | }; |
464 | 464 | ||
465 | module_platform_driver(pm860x_rtc_driver); | 465 | module_platform_driver(pm860x_rtc_driver); |