Re: [PATCH RESEND v6] backlight: lp855x: Switch to atomic PWM API

2022-07-18 Thread Lee Jones
On Thu, 14 Jul 2022, Maíra Canal wrote: > Remove legacy PWM interface (pwm_config, pwm_enable, pwm_disable) and > replace it for the atomic PWM API. > > Reviewed-by: Uwe Kleine-König > Reviewed-by: Daniel Thompson > Signed-off-by: Maíra Canal Nit: This should be chronological. > --- > V1 ->

[PATCH RESEND v6] backlight: lp855x: Switch to atomic PWM API

2022-07-14 Thread Maíra Canal
Remove legacy PWM interface (pwm_config, pwm_enable, pwm_disable) and replace it for the atomic PWM API. Reviewed-by: Uwe Kleine-König Reviewed-by: Daniel Thompson Signed-off-by: Maíra Canal --- V1 -> V2: Initialize variable and simplify conditional loop V2 -> V3: Fix assignment of NULL variabl