1
0
Fork 0
alistair23-linux/sound/pci/au88x0
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au88x0.c ALSA: pci: Convert to snd_card_new() with a device pointer 2014-02-12 11:17:52 +01:00
au88x0.h ALSA: Au88x0 - Implement subdevice volume controls 2012-01-24 15:25:08 +01:00
au88x0_a3d.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
au88x0_a3d.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au88x0_a3ddata.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au88x0_core.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
au88x0_eq.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
au88x0_eq.h [ALSA] au88x0 - Fix structs for equalizer 2006-03-22 10:24:35 +01:00
au88x0_eqdata.c [ALSA] au88x0 - 64bit arch fixes 2006-03-22 10:23:32 +01:00
au88x0_game.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
au88x0_mixer.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
au88x0_mpu401.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
au88x0_pcm.c sound: Remove unnecessary semicolons 2013-10-14 11:00:05 +02:00
au88x0_synth.c ALSA: au88x0: Remove redundant break 2013-09-13 14:39:08 +02:00
au88x0_wt.h [ALSA] au88x0 - 64bit arch fixes 2006-03-22 10:23:32 +01:00
au88x0_xtalk.c ALSA: Au88x0 - Fix Xtalk's constants 2012-01-08 14:35:40 +01:00
au88x0_xtalk.h [ALSA] au88x0 - 64bit arch fixes 2006-03-22 10:23:32 +01:00
au8810.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
au8810.h ALSA: au88x0 - Use a better name for pcm devices of au88x0 2011-04-26 12:27:21 +02:00
au8820.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
au8820.h ALSA: au88x0 - Use a better name for pcm devices of au88x0 2011-04-26 12:27:21 +02:00
au8830.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
au8830.h ALSA: au88x0 - Use a better name for pcm devices of au88x0 2011-04-26 12:27:21 +02:00