Re: [RFC PATCH 5/7] power: supply: Clean-up few drivers by using managed work init

2021-02-13 Thread Greg Kroah-Hartman
On Sat, Feb 13, 2021 at 02:12:41PM +0200, Matti Vaittinen wrote: > Few drivers implement remove call-back only for ensuring a delayed > work gets cancelled prior driver removal. Clean-up these by switching > to use devm_delayed_work_autocancel() instead. > > This change is compile-tested only. All

[RFC PATCH 5/7] power: supply: Clean-up few drivers by using managed work init

2021-02-13 Thread Matti Vaittinen
Few drivers implement remove call-back only for ensuring a delayed work gets cancelled prior driver removal. Clean-up these by switching to use devm_delayed_work_autocancel() instead. This change is compile-tested only. All testing is appreciated. Signed-off-by: Matti Vaittinen --- drivers/powe