Re: [PATCH v1 1/1] leds: Adjust documentation of brightness sysfs node

From: Lee Jones

Date: Thu Mar 19 2026 - 15:05:57 EST


On Thu, 19 Mar 2026, Andy Shevchenko wrote:

> On Thu, Mar 19, 2026 at 03:03:30PM +0000, Lee Jones wrote:
> > On Tue, 10 Mar 2026, Andy Shevchenko wrote:
> >
> > > Adjust documentation of brightness sysfs node about accepted value range.
> > > The code accepts only decimal values. We may not relax that due to different
> > > readings for, e.g., octal 0100, which becomes 64 instead of currently parsed
> > > 100.
>
> ...
>
> > > - The value is between 0 and
> > > + The decimal value is between 0 and
> >
> > How about?
> >
> > The value is between 0 and /sys/class/leds/<led>/max_brightness and is
> > represented by as a decimal.
>
> I tried to be less invasive, but I have no objection on this proposal. Can you
> update it whilst applying or should I send a new version?

New version please. I'm done for the day.

--
Lee Jones [李琼斯]