2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/drivers/net/ethernet/brocade/bna
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
..
bfa_cee.c drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers 2012-07-10 23:13:46 -07:00
bfa_cee.h bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00
bfa_cs.h drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers 2012-07-10 23:13:46 -07:00
bfa_defs_cna.h drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers 2012-07-10 23:13:46 -07:00
bfa_defs_mfg_comm.h drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers 2012-07-10 23:13:46 -07:00
bfa_defs_status.h drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers 2012-07-10 23:13:46 -07:00
bfa_defs.h bna: Enahncement to Identify Default IOC Function 2013-05-20 14:07:59 -07:00
bfa_ioc_ct.c bna: Set Get IOC fw State 2013-12-18 00:30:33 -05:00
bfa_ioc.c bna: Replace large udelay() with mdelay() 2014-03-10 15:56:59 -04:00
bfa_ioc.h bna: Firmware Patch Simplification 2013-12-18 00:30:34 -05:00
bfa_msgq.c drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers 2012-07-10 23:13:46 -07:00
bfa_msgq.h
bfi_cna.h drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers 2012-07-10 23:13:46 -07:00
bfi_enet.h bna: Enable Multi Buffer RX 2013-12-18 00:30:33 -05:00
bfi_reg.h drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers 2012-07-10 23:13:46 -07:00
bfi.h bna: Firmware Patch Simplification 2013-12-18 00:30:34 -05:00
bna_enet.c bna: RX Filter Enhancements 2013-12-18 00:30:33 -05:00
bna_hw_defs.h bna: Enable Multi Buffer RX 2013-12-18 00:30:33 -05:00
bna_tx_rx.c bna: Enable Multi Buffer RX 2013-12-18 00:30:33 -05:00
bna_types.h bna: Enable Multi Buffer RX 2013-12-18 00:30:33 -05:00
bna.h bna: RX Filter Enhancements 2013-12-18 00:30:33 -05:00
bnad_debugfs.c bna: switch to fixed_size_llseek() 2013-06-29 12:57:28 +04:00
bnad_ethtool.c bna: fill the magic in bnad_get_eeprom() instead of validating 2014-07-30 13:56:40 -07:00
bnad.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
bnad.h bna: Update the Driver Version to 3.2.23.0 2013-12-18 00:30:34 -05:00
cna_fwimg.c bna: remove unnecessary break after return 2014-07-20 21:30:18 -07:00
cna.h bna: Firmware Patch Simplification 2013-12-18 00:30:34 -05:00
Kconfig
Makefile bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00