linux/drivers/net/ethernet/dec/tulip
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
..
21142.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
de4x5.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
de4x5.h
de2104x.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
dmfe.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
eeprom.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
interrupt.c tulip: Properly check dma mapping result 2013-06-13 17:09:40 -07:00
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile
media.c tulip: cleanup by using ARRAY_SIZE() 2014-01-23 13:28:29 -08:00
pnic2.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
pnic.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
timer.c tulip: Poll link status more frequently for Comet chips 2014-06-22 17:12:36 -07:00
tulip_core.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
tulip.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
uli526x.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
winbond-840.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
xircom_cb.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00