mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 01:40:30 +00:00
9baa3c34ac
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_io.c | ||
oxygen_lib.c | ||
oxygen_mixer.c | ||
oxygen_pcm.c | ||
oxygen_regs.h | ||
oxygen.c | ||
oxygen.h | ||
pcm1796.h | ||
virtuoso.c | ||
wm8766.h | ||
wm8776.h | ||
wm8785.h | ||
xonar_cs43xx.c | ||
xonar_dg_mixer.c | ||
xonar_dg.c | ||
xonar_dg.h | ||
xonar_hdmi.c | ||
xonar_lib.c | ||
xonar_pcm179x.c | ||
xonar_wm87x6.c | ||
xonar.h |