pwm: ntxec: Drop useless assignment to struct pwmchip::base
Since commitf9a8ee8c8b
("pwm: Always allocate PWM chip base ID dynamically") there is no effect any more for assigning this variable. When the patch resulting inf9a8ee8c8b
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:
parent
1a0c97b646
commit
97966ade66
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue