diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-07-07 18:27:57 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-09-02 21:38:39 +0200 |
commit | 97966ade662e912cbbbf4ff101baccf8b0bac9ae (patch) | |
tree | 4bfb8457eb13ca9f45f563c0a586166f07279093 /drivers/pwm/pwm-ntxec.c | |
parent | 1a0c97b6460f30d8b164eaef07d77369e466dda3 (diff) | |
download | linux-97966ade662e912cbbbf4ff101baccf8b0bac9ae.tar.bz2 |
pwm: ntxec: Drop useless assignment to struct pwmchip::base
Since commit f9a8ee8c8bcd ("pwm: Always allocate PWM chip base ID
dynamically") there is no effect any more for assigning this variable.
When the patch resulting in f9a8ee8c8bcd was created, this driver didn't
exist yet, so this was missed.
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-ntxec.c')
-rw-r--r-- | drivers/pwm/pwm-ntxec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-ntxec.c b/drivers/pwm/pwm-ntxec.c index 50c454c553c4..29a463b7d63a 100644 --- a/drivers/pwm/pwm-ntxec.c +++ b/drivers/pwm/pwm-ntxec.c @@ -155,7 +155,6 @@ static int ntxec_pwm_probe(struct platform_device *pdev) chip = &priv->chip; chip->dev = &pdev->dev; chip->ops = &ntxec_pwm_ops; - chip->base = -1; chip->npwm = 1; return pwmchip_add(chip); |