WSL2-Linux-Kernel/sound/pci/pcxhr
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: pcxhr - add support for pcxhr stereo sound cards (mixer part) 2008-11-25 12:53:24 +01:00
pcxhr.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
pcxhr.h ALSA: pcxhr: Add LTC support 2012-06-20 08:35:37 +02:00
pcxhr_core.c ALSA: pcxhr: Use standard printk helpers 2014-02-26 16:45:30 +01:00
pcxhr_core.h ALSA: pcxhr: Add LTC support 2012-06-20 08:35:37 +02:00
pcxhr_hwdep.c ALSA: pcxhr: Use standard printk helpers 2014-02-26 16:45:30 +01:00
pcxhr_hwdep.h [ALSA] Add PCXHR driver 2006-01-03 12:30:26 +01:00
pcxhr_mix22.c ALSA: pcxhr: Use standard printk helpers 2014-02-26 16:45:30 +01:00
pcxhr_mix22.h ALSA: pcxhr: Add LTC support 2012-06-20 08:35:37 +02:00
pcxhr_mixer.c ALSA: pcxhr: Use standard printk helpers 2014-02-26 16:45:30 +01:00
pcxhr_mixer.h [ALSA] Add PCXHR driver 2006-01-03 12:30:26 +01:00