Skip to contentSkip to conversation

Documentation: leds: fix broken reference to the multicolor LED ABI

PATCH In review Shardul Deshpande 3 participants 3 messages Jun 12 – Jun 18

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: leds: fix broken reference to the multicolor LED ABI

The reference pointed to a non-existent .rst file. The ABI file is named sysfs-class-led-multicolor (without extension), so fix the reference to match the actual file and resolve the warning from tools/docs/documentation-file-ref-check.

---
 Documentation/leds/leds-lp5812.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/leds/leds-lp5812.rst +1 -1
index c2a6368d5..12e757d45 100644
@@ -20,7 +20,7 @@ Sysfs Interface
 ===============
 
 This driver uses the standard multicolor LED class interfaces defined
-in Documentation/ABI/testing/sysfs-class-led-multicolor.rst.
+in Documentation/ABI/testing/sysfs-class-led-multicolor.
 
 Each LP5812 LED output appears under ``/sys/class/leds/`` with its
 assigned label (for example ``LED_A``).
Signature · 1 line
2.43.0
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Shardul Deshpande

The reference pointed to a non-existent .rst file. The ABI file is named sysfs-class-led-multicolor (without extension), so fix the reference to match the actual file and resolve the warning from tools/docs/documentation-file-ref-check.

Thanks.

Quoted 17 lines
---
 Documentation/leds/leds-lp5812.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/leds/leds-lp5812.rst +1 -1
index c2a6368d5..12e757d45 100644
@@ -20,7 +20,7 @@ Sysfs Interface
 ===============
 
 This driver uses the standard multicolor LED class interfaces defined
-in Documentation/ABI/testing/sysfs-class-led-multicolor.rst.
+in Documentation/ABI/testing/sysfs-class-led-multicolor.
 
 Each LP5812 LED output appears under ``/sys/class/leds/`` with its
 assigned label (for example ``LED_A``).
Signature · 1 line
~Randy
maintainer
#2 lore raw
In reply to Shardul Deshpande
Quoted 15 lines · Shardul Deshpande

The reference pointed to a non-existent .rst file. The ABI file is named sysfs-class-led-multicolor (without extension), so fix the reference to match the actual file and resolve the warning from tools/docs/documentation-file-ref-check.

---
 Documentation/leds/leds-lp5812.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/leds/leds-lp5812.rst +0 -0
index c2a6368d5..12e757d45 100644

Documentation/leds/leds-lp5812.rst Sysfs Interface · line 26

Quoted 8 lines
Documentation/leds/leds-lp5812.rst +1 -1
@@ -20,7 +20,7 @@ Sysfs Interface
 ===============
 
 This driver uses the standard multicolor LED class interfaces defined
-in Documentation/ABI/testing/sysfs-class-led-multicolor.rst.
+in Documentation/ABI/testing/sysfs-class-led-multicolor.
 
 Each LP5812 LED output appears under ``/sys/class/leds/`` with its
 assigned label (for example ``LED_A``).

Sorry, Xinhong Hu beat you to it.

Signature · 1 line
Lee Jones