summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx.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-imx.c
parentpwm: Remove pwm_can_sleep() (diff)
downloadlinux-8c0216f377406c7613b67bd18755889026284192.tar.xz
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/pwm/pwm-imx.c')
-rw-r--r--drivers/pwm/pwm-imx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
index d600fd5cd4ba..1223187ad354 100644
--- a/drivers/pwm/pwm-imx.c
+++ b/drivers/pwm/pwm-imx.c
@@ -304,7 +304,6 @@ static int imx_pwm_probe(struct platform_device *pdev)
imx->chip.dev = &pdev->dev;
imx->chip.base = -1;
imx->chip.npwm = 1;
- imx->chip.can_sleep = true;
r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
imx->mmio_base = devm_ioremap_resource(&pdev->dev, r);