projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d19367
)
leds: Fix reference to led_set_brightness() in doc
author
Thomas Weißschuh
<linux@weissschuh.net>
Sat, 18 Feb 2023 17:21:21 +0000
(17:21 +0000)
committer
Lee Jones
<lee@kernel.org>
Thu, 16 Mar 2023 15:08:41 +0000
(15:08 +0000)
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>
Signed-off-by: Lee Jones <lee@kernel.org>
Link:
https://lore.kernel.org/r/20230218-typo-led-set-v1-1-3c35362a2f2d@weissschuh.net
include/linux/leds.h
patch
|
blob
|
history
diff --git
a/include/linux/leds.h
b/include/linux/leds.h
index d71201a968b6601d825634e77de4a327fff8c2f2..aedf341653544a40b3cd99688650f83af7c1f872 100644
(file)
--- a/
include/linux/leds.h
+++ b/
include/linux/leds.h
@@
-256,7
+256,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);