Re: [PATCH 33/33] docs: ABI: unify /sys/class/leds//max_brightness documentation

Jacek Anaszewski
2020-10-29T22:12:38Z

Hi Mauro,

Patch title needs fixing:

s/max_brightness/brightness/

On 10/28/20 3:23 PM, Mauro Carvalho Chehab wrote:
> This ABI is defined twice, one for normal leds and another
> one for multicolor ones.
>
> Ensure that just one definition is there at ABI.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
> Documentation/ABI/testing/sysfs-class-led | 25 ++++++++++++++++---
> .../ABI/testing/sysfs-class-led-multicolor | 23 +++++------------
> 2 files changed, 28 insertions(+), 20 deletions(-)
>
[...]
> +
> What: /sys/class/leds/<led>/max_brightness
> Date: March 2006
> KernelVersion: 2.6.17
> diff --git a/Documentation/ABI/testing/sysfs-class-led-multicolor b/Documentation/ABI/testing/sysfs-class-led-multicolor
> index eeeddcbdbbe3..16fc827b10cb 100644
> --- a/Documentation/ABI/testing/sysfs-class-led-multicolor
> +++ b/Documentation/ABI/testing/sysfs-class-led-multicolor
> @@ -1,20 +1,3 @@
> -What: /sys/class/leds/<led>/brightness
> -Date: March 2020
> -KernelVersion: 5.9
> -Contact: Dan Murphy <dmurphy@ti.com>
> -Description: read/write
> - Writing to this file will update all LEDs within the group to a
> - calculated percentage of what each color LED intensity is set
> - to. The percentage is calculated for each grouped LED via the
> - equation below:

--
Best regards,
Jacek Anaszewski