diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2019-01-29 13:31:55 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-02-06 19:01:18 +0300 |
| commit | d162d041033830b736921b5d3deffcde860cfc26 (patch) | |
| tree | 2b787c3fd861845dc53b494f106ab29e8af4d993 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | 01dc79cd6fe7d25b0eba84009634f5435cbdb4e6 (diff) | |
| download | linux-d162d041033830b736921b5d3deffcde860cfc26.tar.xz | |
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>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
