diff options
Diffstat (limited to 'drivers/pwm/pwm-clps711x.c')
-rw-r--r-- | drivers/pwm/pwm-clps711x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-clps711x.c b/drivers/pwm/pwm-clps711x.c index a80c10803636..7d335422cfda 100644 --- a/drivers/pwm/pwm-clps711x.c +++ b/drivers/pwm/pwm-clps711x.c | |||
@@ -60,7 +60,7 @@ static int clps711x_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) | |||
60 | return -EINVAL; | 60 | return -EINVAL; |
61 | 61 | ||
62 | /* Store constant period value */ | 62 | /* Store constant period value */ |
63 | pwm_set_period(pwm, DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq)); | 63 | pwm->args.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq); |
64 | 64 | ||
65 | return 0; | 65 | return 0; |
66 | } | 66 | } |