projects
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pwm: Ensure pwm_apply_state() doesn't modify the state argument
[linux.git]
/
drivers
/
pwm
/
pwm-zx.c
diff --git
a/drivers/pwm/pwm-zx.c
b/drivers/pwm/pwm-zx.c
index e24f4be35316e2218595f02753df11978affbc9d..e2c21cc34a96aadc968b8df8c9de296e1de45cc9 100644
(file)
--- a/
drivers/pwm/pwm-zx.c
+++ b/
drivers/pwm/pwm-zx.c
@@
-148,7
+148,7
@@
static int zx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
}
static int zx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
- struct pwm_state *state)
+
const
struct pwm_state *state)
{
struct zx_pwm_chip *zpc = to_zx_pwm_chip(chip);
struct pwm_state cstate;
This page took
0.03076 seconds
and
4
git commands to generate.