diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:25:04 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:04 -0500 |
commit | 6c44512d06d3f6afcead304f051f4a06ed9be2cd (patch) | |
tree | a6a5bcddd316b57a5839ea50737d2f510867789e /drivers/atm/idt77252.c | |
parent | 082a2004db27e16ee9a5b1234e6ab219ea29d693 (diff) |
Drivers: atm: 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: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/atm/idt77252.c')
-rw-r--r-- | drivers/atm/idt77252.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index 8974bd2b961e..272f00927761 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c | |||
@@ -3109,8 +3109,7 @@ deinit_card(struct idt77252_dev *card) | |||
3109 | } | 3109 | } |
3110 | 3110 | ||
3111 | 3111 | ||
3112 | static void __devinit | 3112 | static void init_sram(struct idt77252_dev *card) |
3113 | init_sram(struct idt77252_dev *card) | ||
3114 | { | 3113 | { |
3115 | int i; | 3114 | int i; |
3116 | 3115 | ||
@@ -3257,8 +3256,7 @@ init_sram(struct idt77252_dev *card) | |||
3257 | IPRINTK("%s: SRAM initialization complete.\n", card->name); | 3256 | IPRINTK("%s: SRAM initialization complete.\n", card->name); |
3258 | } | 3257 | } |
3259 | 3258 | ||
3260 | static int __devinit | 3259 | static int init_card(struct atm_dev *dev) |
3261 | init_card(struct atm_dev *dev) | ||
3262 | { | 3260 | { |
3263 | struct idt77252_dev *card = dev->dev_data; | 3261 | struct idt77252_dev *card = dev->dev_data; |
3264 | struct pci_dev *pcidev = card->pcidev; | 3262 | struct pci_dev *pcidev = card->pcidev; |
@@ -3537,8 +3535,7 @@ init_card(struct atm_dev *dev) | |||
3537 | /*****************************************************************************/ | 3535 | /*****************************************************************************/ |
3538 | 3536 | ||
3539 | 3537 | ||
3540 | static int __devinit | 3538 | static int idt77252_preset(struct idt77252_dev *card) |
3541 | idt77252_preset(struct idt77252_dev *card) | ||
3542 | { | 3539 | { |
3543 | u16 pci_command; | 3540 | u16 pci_command; |
3544 | 3541 | ||
@@ -3579,8 +3576,7 @@ idt77252_preset(struct idt77252_dev *card) | |||
3579 | } | 3576 | } |
3580 | 3577 | ||
3581 | 3578 | ||
3582 | static unsigned long __devinit | 3579 | static unsigned long probe_sram(struct idt77252_dev *card) |
3583 | probe_sram(struct idt77252_dev *card) | ||
3584 | { | 3580 | { |
3585 | u32 data, addr; | 3581 | u32 data, addr; |
3586 | 3582 | ||
@@ -3601,8 +3597,8 @@ probe_sram(struct idt77252_dev *card) | |||
3601 | return addr * sizeof(u32); | 3597 | return addr * sizeof(u32); |
3602 | } | 3598 | } |
3603 | 3599 | ||
3604 | static int __devinit | 3600 | static int idt77252_init_one(struct pci_dev *pcidev, |
3605 | idt77252_init_one(struct pci_dev *pcidev, const struct pci_device_id *id) | 3601 | const struct pci_device_id *id) |
3606 | { | 3602 | { |
3607 | static struct idt77252_dev **last = &idt77252_chain; | 3603 | static struct idt77252_dev **last = &idt77252_chain; |
3608 | static int index = 0; | 3604 | static int index = 0; |