diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:09:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:02 -0500 |
commit | 5a167f4543e45d45c5672a5cd6cb8ba5ddf4f3ea (patch) | |
tree | c1d9ccea8aea2a1cca1c514e88b7721982bd6f19 /drivers/rtc/rtc-s3c.c | |
parent | 6f039790510fd630ff348efe8c4802dbaa041fba (diff) |
Drivers: rtc: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Mike Frysinger <vapier.adi@gmail.com>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
-rw-r--r-- | drivers/rtc/rtc-s3c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index 4bd9414aee65..404651464d45 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -421,7 +421,7 @@ static void s3c_rtc_enable(struct platform_device *pdev, int en) | |||
421 | clk_disable(rtc_clk); | 421 | clk_disable(rtc_clk); |
422 | } | 422 | } |
423 | 423 | ||
424 | static int __devexit s3c_rtc_remove(struct platform_device *dev) | 424 | static int s3c_rtc_remove(struct platform_device *dev) |
425 | { | 425 | { |
426 | struct rtc_device *rtc = platform_get_drvdata(dev); | 426 | struct rtc_device *rtc = platform_get_drvdata(dev); |
427 | 427 | ||
@@ -451,7 +451,7 @@ static inline int s3c_rtc_get_driver_data(struct platform_device *pdev) | |||
451 | return platform_get_device_id(pdev)->driver_data; | 451 | return platform_get_device_id(pdev)->driver_data; |
452 | } | 452 | } |
453 | 453 | ||
454 | static int __devinit s3c_rtc_probe(struct platform_device *pdev) | 454 | static int s3c_rtc_probe(struct platform_device *pdev) |
455 | { | 455 | { |
456 | struct rtc_device *rtc; | 456 | struct rtc_device *rtc; |
457 | struct rtc_time rtc_tm; | 457 | struct rtc_time rtc_tm; |
@@ -686,7 +686,7 @@ MODULE_DEVICE_TABLE(platform, s3c_rtc_driver_ids); | |||
686 | 686 | ||
687 | static struct platform_driver s3c_rtc_driver = { | 687 | static struct platform_driver s3c_rtc_driver = { |
688 | .probe = s3c_rtc_probe, | 688 | .probe = s3c_rtc_probe, |
689 | .remove = __devexit_p(s3c_rtc_remove), | 689 | .remove = s3c_rtc_remove, |
690 | .suspend = s3c_rtc_suspend, | 690 | .suspend = s3c_rtc_suspend, |
691 | .resume = s3c_rtc_resume, | 691 | .resume = s3c_rtc_resume, |
692 | .id_table = s3c_rtc_driver_ids, | 692 | .id_table = s3c_rtc_driver_ids, |