diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:18:33 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | b859f15921321b7bf4cb4cf188e31a6a25d2dff3 (patch) | |
tree | 551312f637cc2c27959f89742b1ee28baa4a46c7 /drivers/platform/x86/samsung-q10.c | |
parent | 4c62e9764ab403d42f9b8871b1241fe7812f19d4 (diff) |
Drivers: platform: x86: 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: Joey Lee <jlee@novell.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Peter Feuerer <peter@piie.net>
Cc: Corentin Chary <corentin.chary@gmail.com>
Cc: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Cc: Robert Gerlach <khnz@gmx.de>
Cc: Ike Panhc <ike.pan@canonical.com>
Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/x86/samsung-q10.c')
-rw-r--r-- | drivers/platform/x86/samsung-q10.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/samsung-q10.c b/drivers/platform/x86/samsung-q10.c index 1e54ae74274c..5f770059fd4d 100644 --- a/drivers/platform/x86/samsung-q10.c +++ b/drivers/platform/x86/samsung-q10.c | |||
@@ -77,7 +77,7 @@ static int samsungq10_resume(struct device *dev) | |||
77 | static SIMPLE_DEV_PM_OPS(samsungq10_pm_ops, | 77 | static SIMPLE_DEV_PM_OPS(samsungq10_pm_ops, |
78 | samsungq10_suspend, samsungq10_resume); | 78 | samsungq10_suspend, samsungq10_resume); |
79 | 79 | ||
80 | static int __devinit samsungq10_probe(struct platform_device *pdev) | 80 | static int samsungq10_probe(struct platform_device *pdev) |
81 | { | 81 | { |
82 | 82 | ||
83 | struct backlight_properties props; | 83 | struct backlight_properties props; |
@@ -99,7 +99,7 @@ static int __devinit samsungq10_probe(struct platform_device *pdev) | |||
99 | return 0; | 99 | return 0; |
100 | } | 100 | } |
101 | 101 | ||
102 | static int __devexit samsungq10_remove(struct platform_device *pdev) | 102 | static int samsungq10_remove(struct platform_device *pdev) |
103 | { | 103 | { |
104 | 104 | ||
105 | struct backlight_device *bd = platform_get_drvdata(pdev); | 105 | struct backlight_device *bd = platform_get_drvdata(pdev); |
@@ -119,7 +119,7 @@ static struct platform_driver samsungq10_driver = { | |||
119 | .pm = &samsungq10_pm_ops, | 119 | .pm = &samsungq10_pm_ops, |
120 | }, | 120 | }, |
121 | .probe = samsungq10_probe, | 121 | .probe = samsungq10_probe, |
122 | .remove = __devexit_p(samsungq10_remove), | 122 | .remove = samsungq10_remove, |
123 | }; | 123 | }; |
124 | 124 | ||
125 | static struct platform_device *samsungq10_device; | 125 | static struct platform_device *samsungq10_device; |