pwm: ntxec: Drop useless assignment to struct pwmchip::base

Since commit f9a8ee8c8b ("pwm: Always allocate PWM chip base ID
dynamically") there is no effect any more for assigning this variable.
When the patch resulting in f9a8ee8c8b 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>
This commit is contained in:
Uwe Kleine-König 2021-07-07 18:27:57 +02:00 committed by Thierry Reding
parent 1a0c97b646
commit 97966ade66
1 changed files with 0 additions and 1 deletions

View File

@ -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);