aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-raspberrypi-poe.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-12-09 22:08:51 +0000
committerThierry Reding <[email protected]>2022-02-24 12:53:27 +0000
commit4122e903b9e3d16391682491eb668f6f36f8ec89 (patch)
tree9e77cabce209160c6cff2e35d9ef05e09d3384fe /drivers/pwm/pwm-raspberrypi-poe.c
parentpwm: bcm-kona: Implement .apply() callback (diff)
downloadkernel-4122e903b9e3d16391682491eb668f6f36f8ec89.tar.gz
kernel-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 <[email protected]> Reviewed-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-raspberrypi-poe.c')
-rw-r--r--drivers/pwm/pwm-raspberrypi-poe.c1
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,