Re: [PATCH 2/2] leds: Add support for Turris 1.x LEDs

From: Pali Rohár
Date: Tue Jul 05 2022 - 09:06:00 EST


On Tuesday 05 July 2022 14:30:01 Marek Behún wrote:
> On Tue, 5 Jul 2022 14:22:38 +0200
> Pali Rohár <pali@xxxxxxxxxx> wrote:
> > So what about exporting another sysfs file which controls current level (0-7)?
>
> OK, that would be satisfactory. Something like
> "selected_brightness_index".

Too long? What about just "brightness_level" and make it R/W?
We already call it level (not index).