]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: charger-manager: Switch to alarm_start_timer()
authorThomas Gleixner <tglx@kernel.org>
Wed, 8 Apr 2026 11:54:24 +0000 (13:54 +0200)
committerThomas Gleixner <tglx@kernel.org>
Fri, 1 May 2026 19:36:13 +0000 (21:36 +0200)
commit9fa2e38ab749f3966d9141da3c2cb6ce3a9a8e35
treebf56485719130a07c6f0ea3d765fc91912b82d7d
parent7dda99952cede01e1225f8c4c856369a2cfda6ca
power: supply: charger-manager: Switch to alarm_start_timer()

The existing alarm_start() interface is replaced with the new
alarm_start_timer() mechanism, which does not longer queue an already
expired timer and returns the state. Adjust the code to utilize this.

No functional change intended.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://patch.msgid.link/20260408114952.536945376@kernel.org
drivers/power/supply/charger-manager.c