OpenCloudOS-Kernel/drivers/net/wireless/p54
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 Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Makefile
eeprom.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
eeprom.h p54: parse output power table 2012-08-10 15:17:14 -04:00
fwio.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
led.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
lmac.h mac80211: move TX station pointer and restructure TX 2012-07-31 16:18:39 +02:00
main.c mac80211: add vif to flush call 2014-04-09 10:55:29 +02:00
net2280.h drivers/net/wireless: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
p54.h p54: only unregister ieee80211_hw when it has been registered 2012-04-09 16:07:35 -04:00
p54pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
p54pci.h p54pci: convert driver to use asynchronous firmware loading 2012-08-06 14:56:33 -04:00
p54spi.c p54: use request_firmware_direct() for optional EEPROM override 2014-06-25 15:40:40 -04:00
p54spi.h
p54spi_eeprom.h p54spi: update sample eeprom 2011-02-14 15:52:10 -05:00
p54usb.c p54usb: fix leaks at failure path in p54u_probe() 2014-03-14 14:49:13 -04:00
p54usb.h p54usb: Load firmware asynchronously 2012-04-09 16:07:35 -04:00
txrx.c p54: clamp properly instead of just truncating 2014-01-13 14:50:06 -05:00