mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-23 02:51:47 +00:00
leds: Fix reference to led_set_brightness() in doc
The referenced function led_classdev_brightness_set() never existed.
Fixes: 5ada28bf76
("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
This commit is contained in:
parent
6d19367b9e
commit
8af70e202a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue