Documentation: leds: Update led-trigger-tty ABI description
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 10 Jan 2024 13:34:10 +0000 (14:34 +0100)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 08:47:59 +0000 (08:47 +0000)
commit96d947d4abb35dffe0d7fd02c735b88632819b6e
tree3a8c2b7be82b55c2aedc1298432f5e5f03947f1a
parent5fe5e2a3d75d18d762b23c49e18ac91bd19a626e
Documentation: leds: Update led-trigger-tty ABI description

The 'led-trigger-tty' uses the same naming in the ABI documentation as
the 'led-trigger-netdev'. Which leads to the following warning when
building the documentation.

Warning: /sys/class/leds/<led>/rx is defined 2 times:
Documentation/ABI/testing/sysfs-class-led-trigger-tty:7
Documentation/ABI/testing/sysfs-class-led-trigger-netdev:49
Warning: /sys/class/leds/<led>/tx is defined 2 times:
Documentation/ABI/testing/sysfs-class-led-trigger-tty:15
Documentation/ABI/testing/sysfs-class-led-trigger-netdev:34

Renaming the 'What' path by prefixing it with 'tty_' solves this problem.

Fixes: 6dec659896b4 ("leds: ledtrig-tty: Add additional line state evaluation")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Link: https://lore.kernel.org/r/20240110133410.81645-1-fe@dev.tdt.de
Signed-off-by: Lee Jones <lee@kernel.org>
(cherry picked from commit ea411a8422c1d7f8193d726fb76ba09534b6a5fe)
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/ABI/testing/sysfs-class-led-trigger-tty