PCI/checkpatch: Deprecate DEFINE_PCI_DEVICE_TABLE
authorJoe Perches <joe@perches.com>
Fri, 13 Dec 2013 18:36:22 +0000 (11:36 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 13 Dec 2013 18:36:22 +0000 (11:36 -0700)
commit92e112fdbb3cb55b43390426501a7efacd893b96
tree4f77ae248e2e7fc8a5633e2feb6e83e5c0f0de5f
parent5b764b834ea925b7fc87df4a87a0fde95acbecb9
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: Joe Perches <joe@perches.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Documentation/PCI/pci.txt
include/linux/pci.h
scripts/checkpatch.pl