[PATCH v2] dt-bindings: leds: Fix reference to definition of default-state

From: Jonathan Neuschäfer
Date: Sat Oct 08 2022 - 09:19:33 EST


At least since the YAML conversion, the default-state property is
described in leds/common.yaml, so there's no need to point to another
file for its definition.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@xxxxxxx>
Acked-by: Rob Herring <robh@xxxxxxxxxx>
---

v2:
- Add Rob's ACK
- Rebase on Marek Vasut's patch in -next
---
Documentation/devicetree/bindings/leds/common.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index 3c14a98430e19..75a9497a5ba1d 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -83,8 +83,7 @@ properties:
- enum:
# LED will act as a back-light, controlled by the framebuffer system
- backlight
- # LED will turn on (but for leds-gpio see "default-state" property in
- # Documentation/devicetree/bindings/leds/leds-gpio.yaml)
+ # LED will turn on (see also "default-state" property)
- default-on
# LED "double" flashes at a load average based rate
- heartbeat
--
2.35.1