[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <91a26d60-abeb-6188-2ed2-1145e52ca36e@canonical.com>
Date: Fri, 18 Feb 2022 20:20:35 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Hans de Goede <hdegoede@...hat.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Sebastian Krzyszkowiak <sebastian.krzyszkowiak@...i.sm>,
Purism Kernel Team <kernel@...i.sm>,
Sebastian Reichel <sre@...nel.org>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: Re: [PATCH V2] power: supply: max17042_battery: Use
devm_work_autocancel()
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@...adoo.fr>
> ---
> 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@...onical.com>
Best regards,
Krzysztof
Powered by blists - more mailing lists