2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/sound/pci/echoaudio
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
..
darla20_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
darla20.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
darla24_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
darla24.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
echo3g_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
echo3g.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
echoaudio_3g.c ALSA: Echoaudio - Add firmware cache #1 2010-02-15 10:36:51 +01:00
echoaudio_dsp.c ALSA: echoaudio: Use standard printk helpers 2014-02-26 16:45:26 +01:00
echoaudio_dsp.h ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
echoaudio_gml.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00
echoaudio.c ALSA: echoaudio: Remove unused variable 2014-07-01 14:06:24 +02:00
echoaudio.h ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
gina20_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
gina20.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
gina24_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
gina24.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
indigo_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigo_express_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigo.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
indigodj_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigodj.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
indigodjx_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigodjx.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
indigoio_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigoio.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
indigoiox_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigoiox.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
layla20_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
layla20.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
layla24_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
layla24.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
Makefile ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
mia_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
mia.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
midi.c ALSA: echoaudio: Use standard printk helpers 2014-02-26 16:45:26 +01:00
mona_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
mona.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00