Commit 00e6dbc8 authored by Dragan Simic's avatar Dragan Simic Committed by Lee Jones
Browse files

mfd: stpmic1: 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/219e0de8bcd1b2ef24142c837d8331ffc535ab26.1731415409.git.dsimic@manjaro.org


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