On Wed, 06 Dec 2023, Uwe Kleine-König wrote: > With pwmchip_remove() being automatically called after switching to > devm_pwmchip_add() the remove function can be dropped completely. Yay! > With lpg_remove() gone there is no user of the platform device's drvdata > left, so platform_set_drvdata() can be dropped from .probe(), too. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> > --- > Note this patch was already sent out individually, find it at > https://lore.kernel.org/linux-leds/20231126095230.683204-2-u.kleine-koenig@xxxxxxxxxxxxxx/ > > drivers/leds/rgb/leds-qcom-lpg.c | 12 +----------- > 1 file changed, 1 insertion(+), 11 deletions(-) I already applied this on the 1st December. -- Lee Jones [李琼斯]