leds: qcom-lpg: 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. See pwmchip_add() which unconditionally overwrites this member. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230728065739.580281-1-u.kleine-koenig@pengutronix.de Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
546924102d
commit
8411652678
@ -1092,7 +1092,6 @@ static int lpg_add_pwm(struct lpg *lpg)
|
||||
{
|
||||
int ret;
|
||||
|
||||
lpg->pwm.base = -1;
|
||||
lpg->pwm.dev = lpg->dev;
|
||||
lpg->pwm.npwm = lpg->num_channels;
|
||||
lpg->pwm.ops = &lpg_pwm_ops;
|
||||
|
Loading…
x
Reference in New Issue
Block a user