Commit ee31892a authored by Bryan Wu's avatar Bryan Wu Committed by Linus Torvalds

Documentation: fix leds-class.txt duplicated word

Fix a typo (duplicated word) in Documentation/leds/leds-class.txt
Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
Acked-by: default avatarRichard Purdie <rchard.purdie@linuxfoundation.org>
Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b6707220
...@@ -61,8 +61,8 @@ Hardware accelerated blink of LEDs ...@@ -61,8 +61,8 @@ Hardware accelerated blink of LEDs
Some LEDs can be programmed to blink without any CPU interaction. To Some LEDs can be programmed to blink without any CPU interaction. To
support this feature, a LED driver can optionally implement the support this feature, a LED driver can optionally implement the
blink_set() function (see <linux/leds.h>). To set an LED to blinking, blink_set() function (see <linux/leds.h>). To set an LED to blinking,
however, it is better to use use the API function led_blink_set(), however, it is better to use the API function led_blink_set(), as it
as it will check and implement software fallback if necessary. will check and implement software fallback if necessary.
To turn off blinking again, use the API function led_brightness_set() To turn off blinking again, use the API function led_brightness_set()
as that will not just set the LED brightness but also stop any software as that will not just set the LED brightness but also stop any software
......
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