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

Pavel Machek
2022-12-22T14:56:11Z

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

On Thu 2022-12-22 15:01:44, Marek Vasut wrote:
> 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 ?

When the label is no longer neccessary for naming leds, it can be
deprecated. AFAICT, that is currently not the case.

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

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