OpenCloudOS-Kernel/drivers/net/wireless/hostap
Benoit Taine 9baa3c34ac PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to
meet kernel coding style guidelines.  This issue was reported by checkpatch.

A simplified version of the semantic patch that makes this change is as
follows (http://coccinelle.lip6.fr/):

// <smpl>

@@
identifier i;
declarer name DEFINE_PCI_DEVICE_TABLE;
initializer z;
@@

- DEFINE_PCI_DEVICE_TABLE(i)
+ const struct pci_device_id i[]
= z;

// </smpl>

[bhelgaas: add semantic patch]
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2014-08-12 12:15:14 -06:00
..
Kconfig
Makefile
hostap.h
hostap_80211.h
hostap_80211_rx.c wireless: slight optimization of addr compare 2013-12-26 13:31:35 -05:00
hostap_80211_tx.c hostap: slight optimization of addr compare 2013-12-26 13:31:35 -05:00
hostap_ap.c hostap: Do not free priv until timer handler has actually stopped using it 2014-02-20 15:49:07 -05:00
hostap_ap.h Fix common misspellings 2011-03-31 11:26:23 -03:00
hostap_common.h
hostap_config.h net: change to new flag variable 2011-03-17 14:05:35 +01:00
hostap_cs.c hostap: add Netgear MA401 card 2014-02-24 15:21:54 -05:00
hostap_download.c hostap: Don't use create_proc_read_entry() 2013-04-29 15:41:56 -04:00
hostap_hw.c hostap: slight optimization of addr compare 2013-12-26 13:31:35 -05:00
hostap_info.c net:drivers/net: Miscellaneous conversions to ETH_ALEN 2013-10-02 17:04:45 -04:00
hostap_ioctl.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2014-01-10 10:59:40 -05:00
hostap_main.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
hostap_pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
hostap_plx.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
hostap_proc.c hostap: fix "hostap: proc: Use remove_proc_subtree()" 2014-02-13 14:58:12 -05:00
hostap_wlan.h hostap: Don't use create_proc_read_entry() 2013-04-29 15:41:56 -04:00