diff options
| author | Thierry Reding <[email protected]> | 2017-01-04 08:40:54 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2017-01-04 08:40:54 +0000 |
| commit | 8c0216f377406c7613b67bd18755889026284192 (patch) | |
| tree | e72b5ed9cfc762ee7cc7eed56f44211c327b5613 /drivers/pwm/pwm-atmel-hlcdc.c | |
| parent | pwm: Remove pwm_can_sleep() (diff) | |
| download | kernel-8c0216f377406c7613b67bd18755889026284192.tar.gz kernel-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 <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel-hlcdc.c')
| -rw-r--r-- | drivers/pwm/pwm-atmel-hlcdc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c index 14fc011faa32..999187277ea5 100644 --- a/drivers/pwm/pwm-atmel-hlcdc.c +++ b/drivers/pwm/pwm-atmel-hlcdc.c @@ -270,7 +270,6 @@ static int atmel_hlcdc_pwm_probe(struct platform_device *pdev) chip->chip.npwm = 1; chip->chip.of_xlate = of_pwm_xlate_with_flags; chip->chip.of_pwm_n_cells = 3; - chip->chip.can_sleep = 1; ret = pwmchip_add_with_polarity(&chip->chip, PWM_POLARITY_INVERSED); if (ret) { |
