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-fsl-ftm.c | |
parent | pwm: Remove pwm_can_sleep() (diff) | |
download | linux-8c0216f377406c7613b67bd18755889026284192.tar.xz 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-fsl-ftm.c')
-rw-r--r-- | drivers/pwm/pwm-fsl-ftm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c index fad968eb75f6..557b4ea16796 100644 --- a/drivers/pwm/pwm-fsl-ftm.c +++ b/drivers/pwm/pwm-fsl-ftm.c @@ -446,7 +446,6 @@ static int fsl_pwm_probe(struct platform_device *pdev) fpc->chip.of_pwm_n_cells = 3; fpc->chip.base = -1; fpc->chip.npwm = 8; - fpc->chip.can_sleep = true; ret = pwmchip_add(&fpc->chip); if (ret < 0) { |