WSL2-Linux-Kernel/drivers/net/wireless/prism54
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
..
Makefile
isl_38xx.c prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
isl_38xx.h prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
isl_ioctl.c net: Replace min macro with min_t 2014-03-03 15:35:54 -05:00
isl_ioctl.h prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
isl_oid.h prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
islpci_dev.c prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
islpci_dev.h prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
islpci_eth.c prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
islpci_eth.h prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
islpci_hotplug.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
islpci_mgt.c prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
islpci_mgt.h prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
oid_mgt.c prism54: remove unnecessary break after return 2014-07-20 21:29:51 -07:00
oid_mgt.h prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00
prismcompat.h prism54: Fix FSF address in file headers 2013-12-11 10:56:20 -05:00