docs: ABI: sysfs-class-led-trigger-pattern: remove repeat duplication
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 19 May 2021 08:51:46 +0000 (10:51 +0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 20 May 2021 19:44:14 +0000 (13:44 -0600)
As reported by scripts/get_abi.pl:

Warning: /sys/class/leds/<led>/repeat is defined 2 times:  Documentation/ABI/testing/sysfs-class-led-driver-el15203000:0  Documentation/ABI/testing/sysfs-class-led-trigger-pattern:28

The definition for the EL15203000 is just a special case of
the sysfs led class. So, drop it and mentions the possible
exception at the class definition.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/394580bd2e007ffb640f97212973a772ed8f0409.1621413933.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/ABI/testing/sysfs-class-led-driver-el15203000 [deleted file]
Documentation/ABI/testing/sysfs-class-led-trigger-pattern

diff --git a/Documentation/ABI/testing/sysfs-class-led-driver-el15203000 b/Documentation/ABI/testing/sysfs-class-led-driver-el15203000
deleted file mode 100644 (file)
index 04f3ffd..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-What:          /sys/class/leds/<led>/repeat
-Date:          September 2019
-KernelVersion: 5.5
-Description:
-               EL15203000 supports only indefinitely patterns,
-               so this file should always store -1.
-
-               For more info, please see:
-               Documentation/ABI/testing/sysfs-class-led-trigger-pattern
index d91a07767adf067f5ab6ce3fd04b2bf097a08b09..8c57d2780554ea5c6cc0633e2d45628eda393a57 100644 (file)
@@ -35,3 +35,6 @@ Description:
 
                This file will always return the originally written repeat
                number.
+
+               It should be noticed that some leds, like EL15203000 may
+               only support indefinitely patterns, so they always store -1.