Home
last modified time | relevance | path

Searched hist:abe916c5 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/scripts/dtc/
H A Ddt-extract-compatiblesabe916c5 Fri Aug 04 14:01:29 CDT 2023 Rob Herring <robh@kernel.org> 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>