* [PATCH] leds: fix the parameter name in the led_set_flash_duration doc
@ 2026-11-29 1:41 Nikolai Dokutovich
0 siblings, 0 replies; only message in thread
From: Nikolai Dokutovich @ 2026-11-29 1:41 UTC (permalink / raw)
To: Pavel Machek, Lee Jones; +Cc: linux-kernel, Nikolai Dokutovich
The parameter is duration, the kernel-doc calls it timeout.
Signed-off-by: Nikolai Dokutovich <ndokutovich@gmail.com>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-29 1:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29 1:41 [PATCH] leds: fix the parameter name in the led_set_flash_duration doc Nikolai Dokutovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®