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

From: Pavel Machek
Date: Tue Nov 22 2022 - 07:23:46 EST


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: signature.asc
Description: PGP signature