]> www.infradead.org Git - users/dwmw2/linux.git/commit
power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()
authorHans de Goede <hdegoede@redhat.com>
Sat, 15 Apr 2023 18:23:39 +0000 (20:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jun 2023 14:00:52 +0000 (16:00 +0200)
commit398bf0d67bcccac84efc45d413b9bd57f27af0fd
treebaac246dfa9861d2e9e433142e1d5e6e25ce45d1
parent66a88d04cf5d3a019c520effdad8146e8b855a64
power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()

[ Upstream commit 59dddea9879713423c7b2ade43c423bb71e0d216 ]

Use mod_delayed_work() instead of separate cancel_delayed_work_sync() +
schedule_delayed_work() calls.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/power/supply/bq27xxx_battery.c