]> git.baikalelectronics.ru Git - uboot.git/commitdiff
led: led_pwm: typo 'iverted' on code comment
authorNylon Chen <nylon.chen@sifive.com>
Thu, 27 Oct 2022 06:25:37 +0000 (14:25 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 2 Nov 2022 17:58:17 +0000 (13:58 -0400)
change iverted to inverted.

Signed-off-by: Nylon Chen <nylon.chen@sifive.com>
drivers/led/led_pwm.c

index 0ebae358ebb73a0d082c61158d416e3710d7b676..7c8eae9337bdf7549579988b2d6537881fc0cf0b 100644 (file)
@@ -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)