projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UPSTREAM: pwm: Introduce the pwm_args concept
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
pwm
/
pwm-pxa.c
diff --git
a/drivers/pwm/pwm-pxa.c
b/drivers/pwm/pwm-pxa.c
index cb2f7024cf6846350dd2ac83846e8d0a7b26ee02..58b709f291302158bb1643fdd7f3f5d6dcbcea98 100644
(file)
--- a/
drivers/pwm/pwm-pxa.c
+++ b/
drivers/pwm/pwm-pxa.c
@@
-160,7
+160,7
@@
pxa_pwm_of_xlate(struct pwm_chip *pc, const struct of_phandle_args *args)
if (IS_ERR(pwm))
return pwm;
- pwm
_set_period(pwm, args->args[0])
;
+ pwm
->args.period = args->args[0]
;
return pwm;
}