diff options
author | Rob Herring <robh@kernel.org> | 2023-08-04 13:01:29 -0600 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-08-17 13:07:39 -0500 |
commit | abe916c5430a9935f76888a847e21a6f5ca834d2 (patch) | |
tree | ca34cd9b9ec121a1e9c6761f88667d1f3164e860 /Documentation/devicetree/bindings/sound/cs4341.txt | |
parent | 5de0b4a40a5cc2e2c2b6e02420cf42b5865a1e7a (diff) | |
download | lwn-abe916c5430a9935f76888a847e21a6f5ca834d2.tar.gz lwn-abe916c5430a9935f76888a847e21a6f5ca834d2.zip |
dt: dt-check-compatible: Find struct of_device_id instances with compiler annotations
The regex search for declarations of struct of_device_id was missing
cases that had a compiler annotation such as "__maybe_unused". Improve
the regex to allow for these. Use '\S' instead of specific characters to
shorten the regex. That also finds some more compatibles using '.'
characters.
Unfortunately, these changes add ~400 more compatibles without a
schema.
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230804190130.1936566-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/cs4341.txt')
0 files changed, 0 insertions, 0 deletions