[PATCH] leds: fix the parameter name in the led_set_flash_duration doc

From: Nikolai Dokutovich

Date: Sat Nov 28 2026 - 20:42:07 EST


The parameter is duration, the kernel-doc calls it timeout.

Signed-off-by: Nikolai Dokutovich <ndokutovich@xxxxxxxxx>
---
include/linux/led-class-flash.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/led-class-flash.h b/include/linux/led-class-flash.h
index 775a96217518..f85857720687 100644
--- a/include/linux/led-class-flash.h
+++ b/include/linux/led-class-flash.h
@@ -217,7 +217,7 @@ int led_get_flash_fault(struct led_classdev_flash *fled_cdev, u32 *fault);
/**
* led_set_flash_duration - set flash LED duration
* @fled_cdev: the flash LED to set
- * @timeout: the flash duration to set it to
+ * @duration: the flash duration to set it to
*
* Set the flash strobe duration.
*
--
2.43.0