aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNylon Chen <nylon.chen@sifive.com>2022-10-27 14:25:37 +0800
committerTom Rini <trini@konsulko.com>2022-11-02 13:58:17 -0400
commit3708739ef217bb1fed2ead5062875e97c81fc822 (patch)
tree00f6eac9f4a393dc047400c3c61d923ec17714b2
parent0954bc2f89682b5028318308fc262fed86a714e8 (diff)
downloadu-boot-WIP/2022-11-02-assorted-updates.zip
u-boot-WIP/2022-11-02-assorted-updates.tar.gz
u-boot-WIP/2022-11-02-assorted-updates.tar.bz2
led: led_pwm: typo 'iverted' on code commentWIP/2022-11-02-assorted-updates
change iverted to inverted. Signed-off-by: Nylon Chen <nylon.chen@sifive.com>
-rw-r--r--drivers/led/led_pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/led/led_pwm.c b/drivers/led/led_pwm.c
index 0ebae35..7c8eae9 100644
--- a/drivers/led/led_pwm.c
+++ b/drivers/led/led_pwm.c
@@ -123,7 +123,7 @@ static int led_pwm_of_to_plat(struct udevice *dev)
priv->enabled = !!def_brightness;
/*
- * No need to handle pwm iverted case (active_low)
+ * No need to handle pwm inverted case (active_low)
* because of pwm_set_invert function
*/
if (def_brightness < max_brightness)