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-bcm-kona.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-bcm-kona.c')
-rw-r--r-- | drivers/pwm/pwm-bcm-kona.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-bcm-kona.c b/drivers/pwm/pwm-bcm-kona.c index c63418322023..09a95aeb3a70 100644 --- a/drivers/pwm/pwm-bcm-kona.c +++ b/drivers/pwm/pwm-bcm-kona.c @@ -276,7 +276,6 @@ static int kona_pwmc_probe(struct platform_device *pdev) kp->chip.npwm = 6; kp->chip.of_xlate = of_pwm_xlate_with_flags; kp->chip.of_pwm_n_cells = 3; - kp->chip.can_sleep = true; res = platform_get_resource(pdev, IORESOURCE_MEM, 0); kp->base = devm_ioremap_resource(&pdev->dev, res); |