diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2022-06-09 06:58:04 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2022-07-17 01:00:25 +0200 |
commit | a1124c84d467223c71bcf9f2710993bb6927ea5c (patch) | |
tree | 448db5a3eefad54f773b814b822ba5689e5bc2ef /drivers/power/supply/ab8500_chargalg.c | |
parent | power: supply: ab8500_fg: drop duplicated 'is' in comment (diff) | |
download | linux-a1124c84d467223c71bcf9f2710993bb6927ea5c.tar.xz linux-a1124c84d467223c71bcf9f2710993bb6927ea5c.zip |
power: supply: ab8500: Remove flush_scheduled_work() call.
It seems to me that ab8500 driver is using dedicated workqueues and
is not calling schedule{,_delayed}_work{,_on}(). Then, there will be
no work to flush using flush_scheduled_work().
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/ab8500_chargalg.c')
-rw-r--r-- | drivers/power/supply/ab8500_chargalg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/supply/ab8500_chargalg.c b/drivers/power/supply/ab8500_chargalg.c index d56147f7eaec..ae4be553f424 100644 --- a/drivers/power/supply/ab8500_chargalg.c +++ b/drivers/power/supply/ab8500_chargalg.c @@ -1769,7 +1769,6 @@ static void ab8500_chargalg_unbind(struct device *dev, struct device *master, /* Delete the work queue */ destroy_workqueue(di->chargalg_wq); - flush_scheduled_work(); } static const struct component_ops ab8500_chargalg_component_ops = { |