linux_dsm_epyc7002/drivers/net/arcnet
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
..
arc-rawmode.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
arc-rimi.c arcnet: rimi: Fix device name in debug output 2012-04-17 22:22:43 -04:00
arcnet.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
capmode.c drivers/net/arcnet/capmode.c: clean up code 2010-05-31 00:35:13 -07:00
com90io.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com90xx.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com20020_cs.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
com20020-isa.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com20020-pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
com20020.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
Kconfig net: Revert ARCNET and PHYLIB to tristate options 2011-11-26 14:36:49 -05:00
Makefile com20020_cs: Move the PCMCIA Arcnet driver 2011-08-27 00:58:44 -07:00
rfc1051.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
rfc1201.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00