diff options
author | 2021-03-23 15:57:41 +0200 | |
---|---|---|
committer | 2021-03-23 15:22:40 +0100 | |
commit | b82a7b018b93d282d0f1a41a854ca3d071e02759 (patch) | |
tree | c923c4075052577341ed49a7813e72ced92afe9c /drivers/base/platform.c | |
parent | hwmon: raspberry-pi: Clean-up few drivers by using managed work init (diff) | |
download | linux-rng-b82a7b018b93d282d0f1a41a854ca3d071e02759.tar.xz linux-rng-b82a7b018b93d282d0f1a41a854ca3d071e02759.zip |
platform/x86: gpd pocket fan: Clean-up by using managed work init
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 <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/aa25a6781ba016772b045cd6e630da8c559a665d.1616506559.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions