Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b33e46bc authored by Mark Brown's avatar Mark Brown
Browse files

regulator: core: Provide managed regulator registration



Many regulator drivers have a remove function that consists solely of
calling regulator_unregister() so provide a devm_regulator_register()
in order to allow this repeated code to be removed and help eliminate
error handling code.

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 41c7a879
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment