* [PATCH] leds: Fix reference to led_set_brightness() in doc
@ 2023-02-18 17:21 Thomas Weißschuh
2023-03-03 11:49 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Weißschuh @ 2023-02-18 17:21 UTC (permalink / raw)
To: Pavel Machek, Lee Jones, Johannes Berg, Richard Purdie,
Andrew Morton
Cc: linux-leds, linux-kernel, Thomas Weißschuh
The referenced function led_classdev_brightness_set() never existed.
Fixes: 5ada28bf7675 ("led-class: always implement blinking")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
include/linux/leds.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/leds.h b/include/linux/leds.h
index ba4861ec73d3..228acdb52fe2 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -229,7 +229,7 @@ struct led_classdev *__must_check devm_of_led_get(struct device *dev,
*
* Note that if software blinking is active, simply calling
* led_cdev->brightness_set() will not stop the blinking,
- * use led_classdev_brightness_set() instead.
+ * use led_set_brightness() instead.
*/
void led_blink_set(struct led_classdev *led_cdev, unsigned long *delay_on,
unsigned long *delay_off);
---
base-commit: 38f8ccde04a3fa317b51b05e63c3cb57e1641931
change-id: 20230218-typo-led-set-03ef9f1b6f1a
Best regards,
--
Thomas Weißschuh <linux@weissschuh.net>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] leds: Fix reference to led_set_brightness() in doc
2023-02-18 17:21 [PATCH] leds: Fix reference to led_set_brightness() in doc Thomas Weißschuh
@ 2023-03-03 11:49 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2023-03-03 11:49 UTC (permalink / raw)
To: Thomas Weißschuh
Cc: Pavel Machek, Johannes Berg, Richard Purdie, Andrew Morton,
linux-leds, linux-kernel
On Sat, 18 Feb 2023, Thomas Weißschuh wrote:
> The referenced function led_classdev_brightness_set() never existed.
>
> Fixes: 5ada28bf7675 ("led-class: always implement blinking")
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
> ---
> include/linux/leds.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-03 11:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-18 17:21 [PATCH] leds: Fix reference to led_set_brightness() in doc Thomas Weißschuh
2023-03-03 11:49 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox