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)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 8 May 2023 13:29:12 +0000 (15:29 +0200)
commit59dddea9879713423c7b2ade43c423bb71e0d216
tree6a8466f9d0d07e793655f9e0a7577701439a2c84
parent59a99cd462fbdf71f4e845e09f37783035088b4f
power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()

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>
drivers/power/supply/bq27xxx_battery.c