diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-12-09 23:08:51 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-02-24 13:53:27 +0100 |
commit | 4122e903b9e3d16391682491eb668f6f36f8ec89 (patch) | |
tree | 9e77cabce209160c6cff2e35d9ef05e09d3384fe /drivers/pwm/pwm-raspberrypi-poe.c | |
parent | 1c1283db07993d0246865abe03765ac09171107b (diff) | |
download | linux-4122e903b9e3d16391682491eb668f6f36f8ec89.tar.gz linux-4122e903b9e3d16391682491eb668f6f36f8ec89.tar.bz2 linux-4122e903b9e3d16391682491eb668f6f36f8ec89.zip |
pwm: raspberrypi-poe: Drop 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.
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>
Diffstat (limited to 'drivers/pwm/pwm-raspberrypi-poe.c')
-rw-r--r-- | drivers/pwm/pwm-raspberrypi-poe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-raspberrypi-poe.c b/drivers/pwm/pwm-raspberrypi-poe.c index 579a15240e0a..e52e29fc8231 100644 --- a/drivers/pwm/pwm-raspberrypi-poe.c +++ b/drivers/pwm/pwm-raspberrypi-poe.c @@ -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, |