Skip to content

Commit 6ebff75

Browse files
andy-shevlag-linaro
authored andcommitted
leds: Adjust documentation of brightness sysfs node
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. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20260513220620.369825-1-andriy.shevchenko@linux.intel.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent d0316c8 commit 6ebff75

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/ABI/testing/sysfs-class-led

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Description:
2222
For additional details please refer to
2323
Documentation/leds/leds-class-multicolor.rst.
2424

25-
The value is between 0 and
26-
/sys/class/leds/<led>/max_brightness.
25+
The value is between 0 and /sys/class/leds/<led>/max_brightness
26+
and is represented by as a decimal.
2727

2828
Writing 0 to this file clears active trigger.
2929

0 commit comments

Comments
 (0)