Messages in this thread | | | From | Adam Thomson <> | Subject | RE: [PATCH] power: supply: da9150-fg: Use devm_delayed_work_autocancel() | Date | Fri, 18 Feb 2022 13:13:10 +0000 |
| |
On 13 February 2022 17:55, Christophe JAILLET wrote:
> This driver only uses managed resources, except for the delayed work, if > it is used. > > Use devm_delayed_work_autocancel() to also manage the delayed work. > The error handling path of the probe and the remove function can both be > removed. > > This saves a few lines of code. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
| |