Skip to content
Commit 92e112fd authored by Joe Perches's avatar Joe Perches Committed by Bjorn Helgaas
Browse files

PCI/checkpatch: Deprecate DEFINE_PCI_DEVICE_TABLE



Prefer use of the direct definition of struct pci_device_id instead of
indirection via macro DEFINE_PCI_DEVICE_TABLE.

Update the PCI documentation to deprecate DEFINE_PCI_DEVICE_TABLE.  Update
checkpatch adding --fix option.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarJingoo Han <jg1.han@samsung.com>
parent 5b764b83
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment