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_platform.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_platform.c')
-rw-r--r-- | drivers/ata/pata_platform.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c index f4372d0c7ce6..71e093767f4e 100644 --- a/drivers/ata/pata_platform.c +++ b/drivers/ata/pata_platform.c | |||
@@ -98,12 +98,9 @@ static void pata_platform_setup_port(struct ata_ioports *ioaddr, | |||
98 | * | 98 | * |
99 | * If no IRQ resource is present, PIO polling mode is used instead. | 99 | * If no IRQ resource is present, PIO polling mode is used instead. |
100 | */ | 100 | */ |
101 | int __devinit __pata_platform_probe(struct device *dev, | 101 | int __pata_platform_probe(struct device *dev, struct resource *io_res, |
102 | struct resource *io_res, | 102 | struct resource *ctl_res, struct resource *irq_res, |
103 | struct resource *ctl_res, | 103 | unsigned int ioport_shift, int __pio_mask) |
104 | struct resource *irq_res, | ||
105 | unsigned int ioport_shift, | ||
106 | int __pio_mask) | ||
107 | { | 104 | { |
108 | struct ata_host *host; | 105 | struct ata_host *host; |
109 | struct ata_port *ap; | 106 | struct ata_port *ap; |
@@ -178,7 +175,7 @@ int __devinit __pata_platform_probe(struct device *dev, | |||
178 | } | 175 | } |
179 | EXPORT_SYMBOL_GPL(__pata_platform_probe); | 176 | EXPORT_SYMBOL_GPL(__pata_platform_probe); |
180 | 177 | ||
181 | static int __devinit pata_platform_probe(struct platform_device *pdev) | 178 | static int pata_platform_probe(struct platform_device *pdev) |
182 | { | 179 | { |
183 | struct resource *io_res; | 180 | struct resource *io_res; |
184 | struct resource *ctl_res; | 181 | struct resource *ctl_res; |