diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2017-01-04 09:40:54 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-01-04 09:40:54 +0100 |
commit | 8c0216f377406c7613b67bd18755889026284192 (patch) | |
tree | e72b5ed9cfc762ee7cc7eed56f44211c327b5613 /drivers/pwm/pwm-lp3943.c | |
parent | fe2858c8c6d167df33a839591ebe63ea05a69d06 (diff) | |
download | linux-8c0216f377406c7613b67bd18755889026284192.tar.gz linux-8c0216f377406c7613b67bd18755889026284192.tar.bz2 linux-8c0216f377406c7613b67bd18755889026284192.zip |
pwm: Remove .can_sleep from struct pwm_chip
All PWM devices have been marked as "might sleep" since v4.5, there is
no longer a need to differentiate on a per-chip basis.
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-lp3943.c')
-rw-r--r-- | drivers/pwm/pwm-lp3943.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-lp3943.c b/drivers/pwm/pwm-lp3943.c index 872ea76a4f19..52584e9962ed 100644 --- a/drivers/pwm/pwm-lp3943.c +++ b/drivers/pwm/pwm-lp3943.c @@ -278,7 +278,6 @@ static int lp3943_pwm_probe(struct platform_device *pdev) lp3943_pwm->chip.dev = &pdev->dev; lp3943_pwm->chip.ops = &lp3943_pwm_ops; lp3943_pwm->chip.npwm = LP3943_NUM_PWMS; - lp3943_pwm->chip.can_sleep = true; platform_set_drvdata(pdev, lp3943_pwm); |