Skip to content

Commit 8af70e2

Browse files
t-8chlag-linaro
authored andcommitted
leds: Fix reference to led_set_brightness() in doc
The referenced function led_classdev_brightness_set() never existed. Fixes: 5ada28b ("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
1 parent 6d19367 commit 8af70e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/leds.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ struct led_classdev *__must_check devm_of_led_get(struct device *dev,
256256
*
257257
* Note that if software blinking is active, simply calling
258258
* led_cdev->brightness_set() will not stop the blinking,
259-
* use led_classdev_brightness_set() instead.
259+
* use led_set_brightness() instead.
260260
*/
261261
void led_blink_set(struct led_classdev *led_cdev, unsigned long *delay_on,
262262
unsigned long *delay_off);

0 commit comments

Comments
 (0)