diff mbox series

led: led_pwm: typo 'iverted' on code comment

Message ID 20221027062537.23213-1-nylon.chen@sifive.com
State Accepted
Delegated to: Tom Rini
Headers show
Series led: led_pwm: typo 'iverted' on code comment | expand

Commit Message

Nylon Chen Oct. 27, 2022, 6:25 a.m. UTC
change iverted to inverted.

Signed-off-by: Nylon Chen <nylon.chen@sifive.com>
---
 drivers/led/led_pwm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Nov. 3, 2022, 4:58 p.m. UTC | #1
On Thu, Oct 27, 2022 at 02:25:37PM +0800, Nylon Chen wrote:

> change iverted to inverted.
> 
> Signed-off-by: Nylon Chen <nylon.chen@sifive.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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)