commit | d162d041033830b736921b5d3deffcde860cfc26 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 29 11:31:55 2019 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Feb 06 16:01:18 2019 +0000 |
tree | 2b787c3fd861845dc53b494f106ab29e8af4d993 | |
parent | 01dc79cd6fe7d25b0eba84009634f5435cbdb4e6 [diff] |
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: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>