diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2015-04-22 23:39:18 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-04-28 10:33:17 +0200 |
commit | 9496896fbf07da4a8f3597c9b293b0bc0c32c5a9 (patch) | |
tree | 4f312fc15bba005c516e56978d940139b9ecd1ca /drivers/pci | |
parent | 36c8344e0d31b32a10d415a26942054f29a6007c (diff) | |
download | barebox-9496896fbf07da4a8f3597c9b293b0bc0c32c5a9.tar.gz barebox-9496896fbf07da4a8f3597c9b293b0bc0c32c5a9.tar.xz |
checkpatch: add DT compatible string documentation checks
This adds a simple check that any compatible strings in DeviceTree dts
files are present in Documentation/devicetree/bindings and
in dts/Bindings/.
Vendor prefixes are also checked for existing in vendor-prefixes.txt.
This code is based on linux v4.0-rc6 checkpatch.pl dt-checking code by
Rob Herring & Florian Vaussard:
Rob Herring (2):
checkpatch: add DT compatible string documentation checks
checkpatch: fix wildcard DT compatible string checking
Florian Vaussard (3):
checkpatch: fix spurious vendor compatible warnings
checkpatch: check compatible strings in .c and .h too
checkpatch: improve the compatible vendor match
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Florian Vaussard <florian.vaussard@epfl.ch>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions