Re: [PATCH V2] power: supply: max17042_battery: Use devm_work_autocancel()

From: Krzysztof Kozlowski
Date: Fri Feb 18 2022 - 14:20:45 EST


On 18/02/2022 18:37, Christophe JAILLET wrote:
> Use devm_work_autocancel() instead of hand-writing it.
> This saves a few lines of code.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> V2: s/devm_delayed_work_autocancel/devm_work_autocancel/
>
> drivers/power/supply/max17042_battery.c | 12 +++---------
> 1 file changed, 3 insertions(+), 9 deletions(-)
>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>


Best regards,
Krzysztof