diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:21:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | fe31edc8a3b6081f3580c9ae4c5c61103f3412a5 (patch) | |
tree | 84b9d3b008f33031093a73a7bec7f422f3a7eff8 /drivers/ide/aec62xx.c | |
parent | 0ec24914675c48213378da550db494bf154f0f6c (diff) |
Drivers: ide: 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: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/aec62xx.c')
-rw-r--r-- | drivers/ide/aec62xx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/aec62xx.c b/drivers/ide/aec62xx.c index 01451940393b..c7eaf20af926 100644 --- a/drivers/ide/aec62xx.c +++ b/drivers/ide/aec62xx.c | |||
@@ -181,7 +181,7 @@ static const struct ide_port_ops atp86x_port_ops = { | |||
181 | .cable_detect = atp86x_cable_detect, | 181 | .cable_detect = atp86x_cable_detect, |
182 | }; | 182 | }; |
183 | 183 | ||
184 | static const struct ide_port_info aec62xx_chipsets[] __devinitconst = { | 184 | static const struct ide_port_info aec62xx_chipsets[] = { |
185 | { /* 0: AEC6210 */ | 185 | { /* 0: AEC6210 */ |
186 | .name = DRV_NAME, | 186 | .name = DRV_NAME, |
187 | .init_chipset = init_chipset_aec62xx, | 187 | .init_chipset = init_chipset_aec62xx, |
@@ -251,7 +251,7 @@ static const struct ide_port_info aec62xx_chipsets[] __devinitconst = { | |||
251 | * chips, pass a local copy of 'struct ide_port_info' down the call chain. | 251 | * chips, pass a local copy of 'struct ide_port_info' down the call chain. |
252 | */ | 252 | */ |
253 | 253 | ||
254 | static int __devinit aec62xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 254 | static int aec62xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
255 | { | 255 | { |
256 | const struct chipset_bus_clock_list_entry *bus_clock; | 256 | const struct chipset_bus_clock_list_entry *bus_clock; |
257 | struct ide_port_info d; | 257 | struct ide_port_info d; |
@@ -287,7 +287,7 @@ static int __devinit aec62xx_init_one(struct pci_dev *dev, const struct pci_devi | |||
287 | return err; | 287 | return err; |
288 | } | 288 | } |
289 | 289 | ||
290 | static void __devexit aec62xx_remove(struct pci_dev *dev) | 290 | static void aec62xx_remove(struct pci_dev *dev) |
291 | { | 291 | { |
292 | ide_pci_remove(dev); | 292 | ide_pci_remove(dev); |
293 | pci_disable_device(dev); | 293 | pci_disable_device(dev); |
@@ -307,7 +307,7 @@ static struct pci_driver aec62xx_pci_driver = { | |||
307 | .name = "AEC62xx_IDE", | 307 | .name = "AEC62xx_IDE", |
308 | .id_table = aec62xx_pci_tbl, | 308 | .id_table = aec62xx_pci_tbl, |
309 | .probe = aec62xx_init_one, | 309 | .probe = aec62xx_init_one, |
310 | .remove = __devexit_p(aec62xx_remove), | 310 | .remove = aec62xx_remove, |
311 | .suspend = ide_pci_suspend, | 311 | .suspend = ide_pci_suspend, |
312 | .resume = ide_pci_resume, | 312 | .resume = ide_pci_resume, |
313 | }; | 313 | }; |