OpenCloudOS-Kernel/sound/pci/lola
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: lola - fix lola build 2011-05-04 19:55:13 +02:00
lola.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
lola.h ALSA: lola - Fix for Lola280 board 2011-06-24 12:54:43 +02:00
lola_clock.c ALSA: lola: Use standard printk helpers 2014-02-26 16:45:28 +01:00
lola_mixer.c ALSA: lola: Use standard printk helpers 2014-02-26 16:45:28 +01:00
lola_pcm.c ALSA: lola: Use standard printk helpers 2014-02-26 16:45:28 +01:00
lola_proc.c ALSA: lola: fix format type mismatch in sound/pci/lola/lola_proc.c 2014-05-21 11:12:15 +02:00