Commit 8af70e20 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Lee Jones

leds: Fix reference to led_set_brightness() in doc

The referenced function led_classdev_brightness_set() never existed.

Fixes: 5ada28bf ("led-class: always implement blinking")
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230218-typo-led-set-v1-1-3c35362a2f2d@weissschuh.net
parent 6d19367b
...@@ -256,7 +256,7 @@ struct led_classdev *__must_check devm_of_led_get(struct device *dev, ...@@ -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 * Note that if software blinking is active, simply calling
* led_cdev->brightness_set() will not stop the blinking, * 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, void led_blink_set(struct led_classdev *led_cdev, unsigned long *delay_on,
unsigned long *delay_off); unsigned long *delay_off);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment