Commit 84116526 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Lee Jones

leds: qcom-lpg: Drop assignment to struct pwmchip::base

Since commit f9a8ee8c ("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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230728065739.580281-1-u.kleine-koenig@pengutronix.deSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent 54692410
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment