diff mbox series

[1/3] dt-bindings: leds: Deprecate `linux,default-trigger` property

Message ID 20211013204424.10961-1-kabel@kernel.org (mailing list archive)
State Not Applicable
Headers show
Series [1/3] dt-bindings: leds: Deprecate `linux,default-trigger` property | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Marek Behún Oct. 13, 2021, 8:44 p.m. UTC
This property is deprecated in favor of the `function` property.

Signed-off-by: Marek Behún <kabel@kernel.org>
---
 Documentation/devicetree/bindings/leds/common.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Rob Herring Oct. 26, 2021, 8:39 p.m. UTC | #1
On Wed, 13 Oct 2021 22:44:22 +0200, Marek Behún wrote:
> This property is deprecated in favor of the `function` property.
> 
> Signed-off-by: Marek Behún <kabel@kernel.org>
> ---
>  Documentation/devicetree/bindings/leds/common.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index 697102707703..a19acc781e89 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -78,6 +78,7 @@  properties:
       This parameter, if present, is a string defining the trigger assigned to
       the LED.
     $ref: /schemas/types.yaml#/definitions/string
+    deprecated: true
 
     enum:
         # LED will act as a back-light, controlled by the framebuffer system