diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-03-01 21:57:19 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-03-22 13:53:00 +0300 |
commit | f9a8ee8c8bcd118e800d88772c6457381db45224 (patch) | |
tree | 18be07fd64944b700602491de24a6a0eabc89826 /drivers/pwm/pwm-sl28cpld.c | |
parent | 5a43c201c9d05a65f1997877ba45ec41ee91b8b5 (diff) | |
download | linux-f9a8ee8c8bcd118e800d88772c6457381db45224.tar.xz |
pwm: Always allocate PWM chip base ID dynamically
Since commit 5e5da1e9fbee ("pwm: ab8500: Explicitly allocate pwm chip
base dynamically") all drivers use dynamic ID allocation explicitly. New
drivers are supposed to do the same, so remove support for driver
specified base IDs and drop all assignments in the low-level drivers.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-sl28cpld.c')
-rw-r--r-- | drivers/pwm/pwm-sl28cpld.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-sl28cpld.c b/drivers/pwm/pwm-sl28cpld.c index 0b01ec25e2f0..7a69c1a0c060 100644 --- a/drivers/pwm/pwm-sl28cpld.c +++ b/drivers/pwm/pwm-sl28cpld.c @@ -229,7 +229,6 @@ static int sl28cpld_pwm_probe(struct platform_device *pdev) chip = &priv->pwm_chip; chip->dev = &pdev->dev; chip->ops = &sl28cpld_pwm_ops; - chip->base = -1; chip->npwm = 1; platform_set_drvdata(pdev, priv); |