Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mwl8k: 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>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Bill Pemberton and committed by
John W. Linville
8dee5eef fbdb7fce

+4 -4
+4 -4
drivers/net/wireless/mwl8k.c
··· 5258 5258 #define _MWL8K_8366_AP_FW(api) "mwl8k/fmimage_8366_ap-" #api ".fw" 5259 5259 #define MWL8K_8366_AP_FW(api) _MWL8K_8366_AP_FW(api) 5260 5260 5261 - static struct mwl8k_device_info mwl8k_info_tbl[] __devinitdata = { 5261 + static struct mwl8k_device_info mwl8k_info_tbl[] = { 5262 5262 [MWL8363] = { 5263 5263 .part_name = "88w8363", 5264 5264 .helper_image = "mwl8k/helper_8363.fw", ··· 5756 5756 5757 5757 return rc; 5758 5758 } 5759 - static int __devinit mwl8k_probe(struct pci_dev *pdev, 5759 + static int mwl8k_probe(struct pci_dev *pdev, 5760 5760 const struct pci_device_id *id) 5761 5761 { 5762 5762 static int printed_version; ··· 5873 5873 return rc; 5874 5874 } 5875 5875 5876 - static void __devexit mwl8k_remove(struct pci_dev *pdev) 5876 + static void mwl8k_remove(struct pci_dev *pdev) 5877 5877 { 5878 5878 struct ieee80211_hw *hw = pci_get_drvdata(pdev); 5879 5879 struct mwl8k_priv *priv; ··· 5925 5925 .name = MWL8K_NAME, 5926 5926 .id_table = mwl8k_pci_id_table, 5927 5927 .probe = mwl8k_probe, 5928 - .remove = __devexit_p(mwl8k_remove), 5928 + .remove = mwl8k_remove, 5929 5929 }; 5930 5930 5931 5931 module_pci_driver(mwl8k_driver);