diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2017-01-04 03:40:54 -0500 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-01-04 03:40:54 -0500 |
commit | 8c0216f377406c7613b67bd18755889026284192 (patch) | |
tree | e72b5ed9cfc762ee7cc7eed56f44211c327b5613 /drivers/pwm/pwm-atmel.c | |
parent | fe2858c8c6d167df33a839591ebe63ea05a69d06 (diff) |
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-atmel.c')
-rw-r--r-- | drivers/pwm/pwm-atmel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c index e6b8b1b7e6ba..67a7023be5c2 100644 --- a/drivers/pwm/pwm-atmel.c +++ b/drivers/pwm/pwm-atmel.c | |||
@@ -385,7 +385,6 @@ static int atmel_pwm_probe(struct platform_device *pdev) | |||
385 | 385 | ||
386 | atmel_pwm->chip.base = -1; | 386 | atmel_pwm->chip.base = -1; |
387 | atmel_pwm->chip.npwm = 4; | 387 | atmel_pwm->chip.npwm = 4; |
388 | atmel_pwm->chip.can_sleep = true; | ||
389 | atmel_pwm->config = data->config; | 388 | atmel_pwm->config = data->config; |
390 | atmel_pwm->updated_pwms = 0; | 389 | atmel_pwm->updated_pwms = 0; |
391 | mutex_init(&atmel_pwm->isr_lock); | 390 | mutex_init(&atmel_pwm->isr_lock); |