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/staging | |
parent | fe2858c8c6d167df33a839591ebe63ea05a69d06 (diff) | |
download | linux-8c0216f377406c7613b67bd18755889026284192.tar.gz linux-8c0216f377406c7613b67bd18755889026284192.tar.bz2 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/staging')
-rw-r--r-- | drivers/staging/greybus/pwm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/greybus/pwm.c b/drivers/staging/greybus/pwm.c index c4bf3298ba07..f0404bc37123 100644 --- a/drivers/staging/greybus/pwm.c +++ b/drivers/staging/greybus/pwm.c @@ -284,7 +284,6 @@ static int gb_pwm_probe(struct gbphy_device *gbphy_dev, pwm->ops = &gb_pwm_ops; pwm->base = -1; /* Allocate base dynamically */ pwm->npwm = pwmc->pwm_max + 1; - pwm->can_sleep = true; /* FIXME */ ret = pwmchip_add(pwm); if (ret) { |