Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Uwe Kleine-König and committed by
Thierry Reding
4122e903 1c1283db

-1
-1
drivers/pwm/pwm-raspberrypi-poe.c
··· 163 163 rpipwm->firmware = firmware; 164 164 rpipwm->chip.dev = dev; 165 165 rpipwm->chip.ops = &raspberrypi_pwm_ops; 166 - rpipwm->chip.base = -1; 167 166 rpipwm->chip.npwm = RASPBERRYPI_FIRMWARE_PWM_NUM; 168 167 169 168 ret = raspberrypi_pwm_get_property(rpipwm->firmware, RPI_PWM_CUR_DUTY_REG,