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

From: Pavel Machek
Date: Thu Dec 22 2022 - 09:56:12 EST


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