Messages in this thread | | | Date | Fri, 18 Feb 2022 20:20:35 +0100 | Subject | Re: [PATCH V2] power: supply: max17042_battery: Use devm_work_autocancel() | From | Krzysztof Kozlowski <> |
| |
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@wanadoo.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@canonical.com>
Best regards, Krzysztof
| |