WSL2-Linux-Kernel/drivers/net/wireless/orinoco
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 PCMCIA_HERMES: ioport_map/unmap relies on HAS_IOPORT_MAP 2014-06-19 15:49:27 -04:00
Makefile
airport.c
cfg.c orinoco: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:12:36 -05:00
cfg.h
fw.c wireless, orinoco: release_firmware() tests for NULL, remove explicit tests before calls 2012-04-12 15:06:08 -04:00
fw.h
hermes.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
hermes.h
hermes_dld.c
hermes_dld.h
hermes_rid.h
hw.c cfg80211: constify more pointers in the cfg80211 API 2014-05-19 17:53:16 +02:00
hw.h cfg80211: constify more pointers in the cfg80211 API 2014-05-19 17:53:16 +02:00
main.c wireless: Remove unnecessary alloc/OOM messages, alloc cleanups 2013-02-04 13:22:34 -05:00
main.h wireless: drivers: make use of WLAN_EID_VENDOR_SPECIFIC 2012-10-18 09:01:54 +02:00
mic.c
mic.h
orinoco.h orinoco: Remove extern from function prototypes 2013-09-24 18:06:22 -07:00
orinoco_cs.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
orinoco_nortel.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
orinoco_pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
orinoco_pci.h net/trivial: replace numeric with standard PM state macros 2013-06-28 22:11:48 -07:00
orinoco_plx.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
orinoco_tmd.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
orinoco_usb.c orinoco_usb: remove unnecessary break after goto 2014-07-13 23:45:24 -07:00
scan.c orinoco: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:12:36 -05:00
scan.h
spectrum_cs.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
wext.c cfg80211: constify more pointers in the cfg80211 API 2014-05-19 17:53:16 +02:00
wext.h