projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0954bc2
)
led: led_pwm: typo 'iverted' on code comment
author
Nylon Chen
<nylon.chen@sifive.com>
Thu, 27 Oct 2022 06:25:37 +0000
(14:25 +0800)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/led/led_pwm.c
b/drivers/led/led_pwm.c
index
0ebae35
..
7c8eae9
100644
(file)
--- 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;
/*
priv->enabled = !!def_brightness;
/*
- * No need to handle pwm iverted case (active_low)
+ * No need to handle pwm i
n
verted case (active_low)
* because of pwm_set_invert function
*/
if (def_brightness < max_brightness)
* because of pwm_set_invert function
*/
if (def_brightness < max_brightness)