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>
This commit is contained in:
@@ -323,7 +323,6 @@ static int twl_pwm_probe(struct platform_device *pdev)
|
||||
twl->chip.dev = &pdev->dev;
|
||||
twl->chip.base = -1;
|
||||
twl->chip.npwm = 2;
|
||||
twl->chip.can_sleep = true;
|
||||
|
||||
mutex_init(&twl->mutex);
|
||||
|
||||
|
Reference in New Issue
Block a user