summaryrefslogtreecommitdiff
path: root/drivers/led
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 /drivers/led
parent0954bc2f89682b5028318308fc262fed86a714e8 (diff)
led: led_pwm: typo 'iverted' on code comment
change iverted to inverted. Signed-off-by: Nylon Chen <nylon.chen@sifive.com>
Diffstat (limited to 'drivers/led')
-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 0ebae358eb..7c8eae9337 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)