From: Nikolai Dokutovich <ndokutovich@gmail.com>
To: Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>
Cc: linux-kernel@vger.kernel.org, Nikolai Dokutovich <ndokutovich@gmail.com>
Subject: [PATCH] leds: fix the parameter name in the led_set_flash_duration doc
Date: Sun, 29 Nov 2026 04:41:34 +0300 [thread overview]
Message-ID: <20261129014135.57416-1-ndokutovich@gmail.com> (raw)
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
reply other threads:[~2026-11-29 1:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129014135.57416-1-ndokutovich@gmail.com \
--to=ndokutovich@gmail.com \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®