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

From: Marek Vasut
Date: Thu Dec 22 2022 - 09:01:59 EST


On 12/22/22 14:50, Pavel Machek wrote:
Hi!

This part I understand. What is not clear to me is, why is 'label' being
un-deprecated.

It shouldn't be. It seems to be Pavel's ad-hoc decision.

Is there a majority agreement that the "label" property remains
deprecated?


If so, I would say we can mark the label as deprecated.

On the other hand, the new generated standardized sysfs name does not seem
to provide a full replacement for the "label" property.
What is still missing?

Having reasonable naming of the LEDs is pre-requisite for deprecating
label property.

As far as I can tell, function and function-enumerator is the reasonable naming. Jacek seem to confirm that. I would say, label can be deprecated . What is the counter-argument for why it should NOT be deprecated ?