Commit 97966ade authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thierry Reding

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

Since commit f9a8ee8c ("pwm: Always allocate PWM chip base ID
dynamically") there is no effect any more for assigning this variable.
When the patch resulting in f9a8ee8c was created, this driver didn't
exist yet, so this was missed.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 1a0c97b6
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment