Skip to content
Unverified Commit d7a261c2 authored by Linus Walleij's avatar Linus Walleij Committed by Mark Brown
Browse files

regulator: max8952: Pass descriptor instead of GPIO number



Instead of passing a global GPIO number for the enable GPIO, pass
a descriptor looked up with the standard devm_gpiod_get_optional()
call.

All users of this regulator use device tree so the transition is
pretty smooth.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2468f0d5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment