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/csiostor
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
..
csio_attr.c
csio_defs.h
csio_hw_chip.h csiostor: Header file modifications for chip support and bug fixes. 2013-03-14 11:36:00 -04:00
csio_hw_t4.c csiostor: Segregate T4 adapter operations. 2013-03-14 11:36:00 -04:00
csio_hw_t5.c csiostor: Add T5 adapter operations. 2013-03-14 11:36:00 -04:00
csio_hw.c [SCSI] csiostor: Use pcie_capability_clear_and_set_word() to simplify code 2013-09-23 17:30:03 -06:00
csio_hw.h [SCSI] csiostor: Retain default adapter configuration in absence of config file. 2013-06-04 11:16:28 -07:00
csio_init.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
csio_init.h csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
csio_isr.c
csio_lnode.c [SCSI] csiostor: remove unneeded memset() 2012-11-30 15:42:55 +00:00
csio_lnode.h [SCSI] csiostor: off by one error 2013-05-02 07:37:10 -07:00
csio_mb.c [SCSI] csiostor: Retain default adapter configuration in absence of config file. 2013-06-04 11:16:28 -07:00
csio_mb.h [SCSI] csiostor: Retain default adapter configuration in absence of config file. 2013-06-04 11:16:28 -07:00
csio_rnode.c csiostor: Header file modifications for chip support and bug fixes. 2013-03-14 11:36:00 -04:00
csio_rnode.h [SCSI] csiostor: off by one error 2013-05-02 07:37:10 -07:00
csio_scsi.c scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
csio_scsi.h
csio_wr.c scsi: use pci_zalloc_consistent 2014-08-08 15:57:29 -07:00
csio_wr.h
Kconfig
Makefile csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
t4fw_api_stor.h RDMA/cxgb4: Fix LE hash collision bug for active open connection 2012-12-19 23:02:43 -08:00