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> |
||
---|---|---|
.. | ||
ak4xxx.c | ||
amp.c | ||
amp.h | ||
aureon.c | ||
aureon.h | ||
delta.c | ||
delta.h | ||
envy24ht.h | ||
ews.c | ||
ews.h | ||
hoontech.c | ||
hoontech.h | ||
ice1712.c | ||
ice1712.h | ||
ice1724.c | ||
juli.c | ||
juli.h | ||
Makefile | ||
maya44.c | ||
maya44.h | ||
phase.c | ||
phase.h | ||
pontis.c | ||
pontis.h | ||
prodigy192.c | ||
prodigy192.h | ||
prodigy_hifi.c | ||
prodigy_hifi.h | ||
psc724.c | ||
psc724.h | ||
quartet.c | ||
quartet.h | ||
revo.c | ||
revo.h | ||
se.c | ||
se.h | ||
stac946x.h | ||
vt1720_mobo.c | ||
vt1720_mobo.h | ||
wm8766.c | ||
wm8766.h | ||
wm8776.c | ||
wm8776.h | ||
wtm.c | ||
wtm.h |