power: supply: max14656: Use devm_work_autocancel()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 13 Feb 2022 11:54:56 +0000 (12:54 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 24 Feb 2022 11:19:20 +0000 (12:19 +0100)
commitd016fc7ab52ab378d8bc11ac6f7e326da7b7a625
treef9f03cea757c6d3269777697f5b19caa74fc3489
parent419c0e9d25ac083877eb37143b54eb57af1401dd
power: supply: max14656: Use devm_work_autocancel()

Use devm_delayed_work_autocancel() instead of hand writing it.
It saves a few lines of code.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/max14656_charger_detector.c