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

From: Jonathan Neuschäfer
Date: Wed Apr 12 2023 - 14:59:34 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>
---

v3:
- Rebase on v6.3-rc6

v2:
- https://lore.kernel.org/lkml/20221008131918.1235397-1-j.neuschaefer@xxxxxxx/
- 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 15e3f6645682e..c9b0dde44986c 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.39.2