Commit 991683ca49908a78ff00942d6832523657e578b7
Committed by
John W. Linville
1 parent
e829cf961b
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
atmel: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
drivers/net/wireless/atmel_pci.c
... | ... | @@ -45,11 +45,11 @@ |
45 | 45 | .name = "atmel", |
46 | 46 | .id_table = card_ids, |
47 | 47 | .probe = atmel_pci_probe, |
48 | - .remove = __devexit_p(atmel_pci_remove), | |
48 | + .remove = atmel_pci_remove, | |
49 | 49 | }; |
50 | 50 | |
51 | 51 | |
52 | -static int __devinit atmel_pci_probe(struct pci_dev *pdev, | |
52 | +static int atmel_pci_probe(struct pci_dev *pdev, | |
53 | 53 | const struct pci_device_id *pent) |
54 | 54 | { |
55 | 55 | struct net_device *dev; |
... | ... | @@ -69,7 +69,7 @@ |
69 | 69 | return 0; |
70 | 70 | } |
71 | 71 | |
72 | -static void __devexit atmel_pci_remove(struct pci_dev *pdev) | |
72 | +static void atmel_pci_remove(struct pci_dev *pdev) | |
73 | 73 | { |
74 | 74 | stop_atmel_card(pci_get_drvdata(pdev)); |
75 | 75 | } |