alistair23-linux/sound/pci/ctxfi
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
..
ct20k1reg.h
ct20k2reg.h
ctamixer.c
ctamixer.h
ctatc.c ALSA: pci: Convert to snd_card_new() with a device pointer 2014-02-12 11:17:52 +01:00
ctatc.h ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
ctdaio.c ALSA: ctxfi: Staticize local symbols 2013-09-13 14:36:09 +02:00
ctdaio.h
cthardware.c ALSA: ctxfi: Use WARN_ON() instead of BUG_ON() 2013-11-06 08:34:49 +01:00
cthardware.h
cthw20k1.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
cthw20k1.h
cthw20k2.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
cthw20k2.h
ctimap.c
ctimap.h
ctmixer.c
ctmixer.h
ctpcm.c
ctpcm.h
ctresource.c
ctresource.h
ctsrc.c
ctsrc.h
cttimer.c
cttimer.h
ctvmem.c
ctvmem.h
Makefile
xfi.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00