mirror of
https://github.com/torvalds/linux.git
synced 2025-11-08 20:49:35 +02:00
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> |
||
|---|---|---|
| .. | ||
| ak4396.h | ||
| cm9780.h | ||
| cs2000.h | ||
| cs4245.h | ||
| cs4362a.h | ||
| cs4398.h | ||
| Makefile | ||
| oxygen.c | ||
| oxygen.h | ||
| oxygen_io.c | ||
| oxygen_lib.c | ||
| oxygen_mixer.c | ||
| oxygen_pcm.c | ||
| oxygen_regs.h | ||
| pcm1796.h | ||
| virtuoso.c | ||
| wm8766.h | ||
| wm8776.h | ||
| wm8785.h | ||
| xonar.h | ||
| xonar_cs43xx.c | ||
| xonar_dg.c | ||
| xonar_dg.h | ||
| xonar_dg_mixer.c | ||
| xonar_hdmi.c | ||
| xonar_lib.c | ||
| xonar_pcm179x.c | ||
| xonar_wm87x6.c | ||