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/delkin_cb.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/delkin_cb.c')
-rw-r--r-- | drivers/ide/delkin_cb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ide/delkin_cb.c b/drivers/ide/delkin_cb.c index 1e10eba62ce..7e27d3295e5 100644 --- a/drivers/ide/delkin_cb.c +++ b/drivers/ide/delkin_cb.c | |||
@@ -71,8 +71,7 @@ static const struct ide_port_info delkin_cb_port_info = { | |||
71 | .chipset = ide_pci, | 71 | .chipset = ide_pci, |
72 | }; | 72 | }; |
73 | 73 | ||
74 | static int __devinit | 74 | static int delkin_cb_probe(struct pci_dev *dev, const struct pci_device_id *id) |
75 | delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id) | ||
76 | { | 75 | { |
77 | struct ide_host *host; | 76 | struct ide_host *host; |
78 | unsigned long base; | 77 | unsigned long base; |
@@ -158,7 +157,7 @@ static int delkin_cb_resume(struct pci_dev *dev) | |||
158 | #define delkin_cb_resume NULL | 157 | #define delkin_cb_resume NULL |
159 | #endif | 158 | #endif |
160 | 159 | ||
161 | static struct pci_device_id delkin_cb_pci_tbl[] __devinitdata = { | 160 | static struct pci_device_id delkin_cb_pci_tbl[] = { |
162 | { 0x1145, 0xf021, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 161 | { 0x1145, 0xf021, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
163 | { 0x1145, 0xf024, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 162 | { 0x1145, 0xf024, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
164 | { 0, }, | 163 | { 0, }, |