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

regulator: gpio: Simplify probe path



Use devm_* managed device resources and create a local
struct device *dev variable to simplify the code inside
probe().

Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 01dc79cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment