mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
pwm: raspberrypi-poe: Drop 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.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
1c1283db07
commit
4122e903b9
@ -163,7 +163,6 @@ static int raspberrypi_pwm_probe(struct platform_device *pdev)
|
||||
rpipwm->firmware = firmware;
|
||||
rpipwm->chip.dev = dev;
|
||||
rpipwm->chip.ops = &raspberrypi_pwm_ops;
|
||||
rpipwm->chip.base = -1;
|
||||
rpipwm->chip.npwm = RASPBERRYPI_FIRMWARE_PWM_NUM;
|
||||
|
||||
ret = raspberrypi_pwm_get_property(rpipwm->firmware, RPI_PWM_CUR_DUTY_REG,
|
||||
|
Loading…
Reference in New Issue
Block a user