Re: [PATCH] dt-bindings: leds: Mark label property as deprecated

Pavel Machek
2022-11-22T12:23:46Z

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

Hi!

> Mark the label property as deprecated as it is mentioned
> in the description.

Lets do it the other way around. Functions (etc) don't really provide
good enough description of LED, and label is still needed.

Best regards,
Pavel

> +++ b/Documentation/devicetree/bindings/leds/common.yaml
> @@ -52,6 +52,7 @@ properties:
> $ref: /schemas/types.yaml#/definitions/uint32
>
> label:
> + deprecated: true
> description:
> The label for this LED. If omitted, the label is taken from the node name
> (excluding the unit address). It has to uniquely identify a device, i.e.

--
People of Russia, stop Putin before his war on Ukraine escalates.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]