aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-atmel-hlcdc.c
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2017-01-04 09:40:54 +0100
committerThierry Reding <thierry.reding@gmail.com>2017-01-04 09:40:54 +0100
commit8c0216f377406c7613b67bd18755889026284192 (patch)
treee72b5ed9cfc762ee7cc7eed56f44211c327b5613 /drivers/pwm/pwm-atmel-hlcdc.c
parentpwm: Remove pwm_can_sleep() (diff)
downloadlinux-dev-8c0216f377406c7613b67bd18755889026284192.tar.xz
linux-dev-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-atmel-hlcdc.c')
-rw-r--r--drivers/pwm/pwm-atmel-hlcdc.c1
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) {