Commit 88dfdd03 authored by Dragan Simic's avatar Dragan Simic Committed by Lee Jones
Browse files

mfd: axp20x: Use devm_register_power_off_handler()



Simplify the code a bit by using devm_register_power_off_handler(), which is
a purpose-specific wrapper for devm_register_sys_off_handler().  No intended
functional changes are introduced.

Signed-off-by: default avatarDragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/ab1f059f4b5bef75da3d3903d0fbf28bddffd57c.1731415409.git.dsimic@manjaro.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 9855caf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment