]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
leds: led-class-flash:: Fix flash_timeout comment
authorRichard Leitner <richard.leitner@linux.dev>
Tue, 17 Jun 2025 07:31:37 +0000 (09:31 +0200)
committerLee Jones <lee@kernel.org>
Thu, 19 Jun 2025 09:37:06 +0000 (10:37 +0100)
The comment for the flash_timeout setter mentioned it is the "flash
duration". Fix this by changing it to "flash timeout".

Signed-off-by: Richard Leitner <richard.leitner@linux.dev>
Link: https://lore.kernel.org/r/20250617-ov9282-flash-strobe-v5-3-9762da74d065@linux.dev
Signed-off-by: Lee Jones <lee@kernel.org>
include/linux/led-class-flash.h

index 21ec856c36bc67decda46aa8ff1c040ffdcf1181..775a96217518936633541c7a5d394502dbf04f83 100644 (file)
@@ -197,7 +197,7 @@ int led_update_flash_brightness(struct led_classdev_flash *fled_cdev);
  * @fled_cdev: the flash LED to set
  * @timeout: the flash timeout to set it to
  *
- * Set the flash strobe duration.
+ * Set the flash strobe timeout.
  *
  * Returns: 0 on success or negative error value on failure
  */