Skip to contentSkip to conversation

dt-bindings: leds: Fix JSON pointer in max-brightness

PATCH Applied Rob Herring 3 participants 3 messages Nov 22, 2023 – Nov 23, 2023

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: leds: Fix JSON pointer in max-brightness

A valid JSON pointer should begin with a '/'. The json-schema package is lax on this allowing either form, but that's changing in new versions.

---
 Documentation/devicetree/bindings/leds/common.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/leds/common.yaml +1 -1
index c8d0ba5f2327..55a8d1385e21 100644
@@ -167,7 +167,7 @@ properties:
       Note that this flag is mainly used for PWM-LEDs, where it is not possible
       to map brightness to current. Drivers for other controllers should use
       led-max-microamp.
-    $ref: /schemas/types.yaml#definitions/uint32
+    $ref: /schemas/types.yaml#/definitions/uint32
 
   panic-indicator:
     description:
Signature · 1 line
2.42.0
maintainer Applied
#2 lore raw

Re: (subset) [PATCH] dt-bindings: leds: Fix JSON pointer in max-brightness

In reply to Rob Herring
Quoted 4 lines · Rob Herring

A valid JSON pointer should begin with a '/'. The json-schema package is lax on this allowing either form, but that's changing in new versions.

Applied, thanks!

[1/1] dt-bindings: leds: Fix JSON pointer in max-brightness

      commit: 2dc0a14846ecf85fb4de29be186581f008d197dd

--
Lee Jones [李琼斯]