linux/drivers/net/ethernet/chelsio/cxgb3
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
adapter.h
ael1002.c
aq100x.c
common.h drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
cxgb3_ctl_defs.h
cxgb3_defs.h
cxgb3_ioctl.h
cxgb3_main.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
cxgb3_offload.c vlan: rename __vlan_find_dev_deep() to __vlan_find_dev_deep_rcu() 2014-05-12 14:39:13 -04:00
cxgb3_offload.h
firmware_exports.h
l2t.c net: cxgb3: slight optimization of addr compare 2013-12-31 16:48:30 -05:00
l2t.h cxgb3: Convert t3_l2t_get() over to dst_neigh_lookup(). 2012-07-05 02:29:40 -07:00
mc5.c
regs.h chelsio: remove duplicate defines 2013-10-21 18:46:45 -04:00
sge.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
sge_defs.h
t3_cpl.h
t3_hw.c remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
t3cdev.h
version.h cxgb3: update firmware version 2012-02-15 15:48:19 -05:00
vsc8211.c
xgmac.c