diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-07-28 08:57:39 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-07-28 12:22:47 +0100 |
commit | 841165267827955bb3295b066cb6a906ba9265c0 (patch) | |
tree | 823ba9db7a9f6099c6eb20a5ce6b02b952fc352e /drivers/leds | |
parent | 546924102de8327a5b2095d2134faed6de971476 (diff) |
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/rgb/leds-qcom-lpg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/rgb/leds-qcom-lpg.c b/drivers/leds/rgb/leds-qcom-lpg.c index fd7676aa243d..df469aaa7e6e 100644 --- a/drivers/leds/rgb/leds-qcom-lpg.c +++ b/drivers/leds/rgb/leds-qcom-lpg.c @@ -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; |