WSL2-Linux-Kernel/sound/pci/asihpi
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 ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
asihpi.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
hpi.h ALSA: asihpi - New defs and comments. 2011-12-22 08:13:07 +01:00
hpi6000.c ALSA: asihpi - Remove redundant struct members. 2011-12-22 08:13:05 +01:00
hpi6000.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpi6205.c ALSA: asihpi - Distinguish four different emif init errors. 2011-12-22 08:13:08 +01:00
hpi6205.h ALSA: asihpi - Increase request and response buffer sizes 2011-07-22 07:45:26 +02:00
hpi_internal.h ALSA: asihpi - fix return value of hpios_locked_mem_alloc() 2012-03-30 16:24:48 +02:00
hpi_version.h ALSA: asihpi - Split hpi version info into separate header file. 2011-12-22 08:12:56 +01:00
hpicmn.c ALSA: asihpi - Correct headers in cached control responses. 2011-12-22 08:13:10 +01:00
hpicmn.h ALSA: asihpi - Remove redundant struct members. 2011-12-22 08:13:05 +01:00
hpidebug.c ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpidebug.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpidspcd.c ALSA: Convert dev_printk(KERN_<LEVEL> to dev_<level>( 2012-10-28 09:56:20 +01:00
hpidspcd.h ALSA: asihpi - Split hpi version info into separate header file. 2011-12-22 08:12:56 +01:00
hpifunc.c ALSA: asihpi - Add autofade query. 2011-12-22 08:13:07 +01:00
hpimsginit.c ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpimsginit.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpimsgx.c ALSA: asihpi - Split hpi version info into separate header file. 2011-12-22 08:12:56 +01:00
hpimsgx.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpioctl.c ALSA: PCI: Remove superfluous pci_set_drvdata(pci, NULL) at remove 2013-05-29 12:37:32 +02:00
hpioctl.h ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
hpios.c ALSA: asihpi - fix return value of hpios_locked_mem_alloc() 2012-03-30 16:24:48 +02:00
hpios.h Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hpipcida.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00