diff options
| author | Thierry Reding <[email protected]> | 2016-05-17 12:57:47 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2016-05-17 12:57:47 +0000 |
| commit | bf5dd9abcb4443bbab8cb63b9d82b96a4a45c802 (patch) | |
| tree | a4d776d644c5b5140490f26c95578f9dcb77653d /drivers/pwm/pwm-clps711x.c | |
| parent | Merge branch 'for-4.7/pwm-cleanup' into for-next (diff) | |
| parent | pwm: Fix pwm_apply_args() call sites (diff) | |
| download | kernel-bf5dd9abcb4443bbab8cb63b9d82b96a4a45c802.tar.gz kernel-bf5dd9abcb4443bbab8cb63b9d82b96a4a45c802.zip | |
Merge branch 'for-4.7/pwm-args' into for-next
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) return -EINVAL; /* Store constant period value */ - pwm_set_period(pwm, DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq)); + pwm->args.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq); return 0; } |
