[PATCH] led: led_pwm: typo 'iverted' on code comment
Nylon Chen
nylon.chen at sifive.com
Thu Oct 27 08:25:37 CEST 2022
change iverted to inverted.
Signed-off-by: Nylon Chen <nylon.chen at sifive.com>
---
drivers/led/led_pwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
2.36.1
More information about the U-Boot
mailing list