diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:19:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | 0ec24914675c48213378da550db494bf154f0f6c (patch) | |
tree | 901633b49aad470693a8ad2a0c490c6888df3ca6 /drivers/ata/pata_palmld.c | |
parent | d8929942806270801023c90d78885e5347be718f (diff) |
Drivers: ata: 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,
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: Jeff Garzik <jgarzik@pobox.com>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/pata_palmld.c')
-rw-r--r-- | drivers/ata/pata_palmld.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_palmld.c b/drivers/ata/pata_palmld.c index f9f79fc04a8f..df2bb7504fc8 100644 --- a/drivers/ata/pata_palmld.c +++ b/drivers/ata/pata_palmld.c | |||
@@ -48,7 +48,7 @@ static struct ata_port_operations palmld_port_ops = { | |||
48 | .cable_detect = ata_cable_40wire, | 48 | .cable_detect = ata_cable_40wire, |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static __devinit int palmld_pata_probe(struct platform_device *pdev) | 51 | static int palmld_pata_probe(struct platform_device *pdev) |
52 | { | 52 | { |
53 | struct ata_host *host; | 53 | struct ata_host *host; |
54 | struct ata_port *ap; | 54 | struct ata_port *ap; |
@@ -109,7 +109,7 @@ err1: | |||
109 | return ret; | 109 | return ret; |
110 | } | 110 | } |
111 | 111 | ||
112 | static __devexit int palmld_pata_remove(struct platform_device *dev) | 112 | static int palmld_pata_remove(struct platform_device *dev) |
113 | { | 113 | { |
114 | ata_platform_remove_one(dev); | 114 | ata_platform_remove_one(dev); |
115 | 115 | ||
@@ -127,7 +127,7 @@ static struct platform_driver palmld_pata_platform_driver = { | |||
127 | .owner = THIS_MODULE, | 127 | .owner = THIS_MODULE, |
128 | }, | 128 | }, |
129 | .probe = palmld_pata_probe, | 129 | .probe = palmld_pata_probe, |
130 | .remove = __devexit_p(palmld_pata_remove), | 130 | .remove = palmld_pata_remove, |
131 | }; | 131 | }; |
132 | 132 | ||
133 | module_platform_driver(palmld_pata_platform_driver); | 133 | module_platform_driver(palmld_pata_platform_driver); |