2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00
linux-next/drivers/scsi/be2iscsi
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
..
be_cmds.c [SCSI] be2iscsi: Fix the session cleanup when reboot/shutdown happens 2014-03-15 10:19:11 -07:00
be_cmds.h be2iscsi: Fix TCP parameters while connection offloading. 2014-05-28 18:13:15 +02:00
be_iscsi.c bnx2i, be2iscsi: fix custom stats length 2014-07-25 17:16:54 -04:00
be_iscsi.h [SCSI] be2scsi: Update copyright dates to 2013 2013-05-02 08:16:45 -07:00
be_main.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
be_main.h be2iscsi: Bump the driver version 2014-05-28 18:13:18 +02:00
be_mgmt.c scsi: use pci_zalloc_consistent 2014-08-08 15:57:29 -07:00
be_mgmt.h be2iscsi: Fix interrupt Coalescing mechanism. 2014-05-28 18:13:15 +02:00
be.h be2iscsi: Fix interrupt Coalescing mechanism. 2014-05-28 18:13:15 +02:00
Kconfig [SCSI] be2iscsi: select ISCSI_BOOT_SYSFS 2010-08-06 09:41:59 -05:00
Makefile