summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/leds/leds-gpio.yaml
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-11-27 23:40:53 +0300
committerRob Herring <robh@kernel.org>2022-12-06 23:50:36 +0300
commitfe469e83eb5b383c8abbf1d1cab7a038e3d6778b (patch)
treea80a30b923b6ba6f1c73ea22474aa701884d5c63 /Documentation/devicetree/bindings/leds/leds-gpio.yaml
parent47612a9fc4b822027200596da16669f596a7c9ff (diff)
downloadlinux-fe469e83eb5b383c8abbf1d1cab7a038e3d6778b.tar.xz
dt-bindings: leds: use unevaluatedProperties for common.yaml
The common.yaml schema allows further properties, so the bindings using it should restrict it with unevaluatedProperties:false. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20221127204058.57111-2-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/leds/leds-gpio.yaml')
-rw-r--r--Documentation/devicetree/bindings/leds/leds-gpio.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-gpio.yaml b/Documentation/devicetree/bindings/leds/leds-gpio.yaml
index 7ad2baeda0b0..7e11703acbd6 100644
--- a/Documentation/devicetree/bindings/leds/leds-gpio.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-gpio.yaml
@@ -23,8 +23,8 @@ patternProperties:
# node name to at least catch some child nodes.
"(^led-[0-9a-f]$|led)":
type: object
-
$ref: common.yaml#
+ unevaluatedProperties: false
properties:
gpios: