commit | 9e6c16d98987f6d5df8e59f61b20140d2f1bdcb4 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Wed Jun 29 14:08:35 2016 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Thu Jun 30 20:39:58 2016 +0100 |
tree | 8b1d488f764077d711180b7ab891446c90f03c5b | |
parent | b21d3f3452ec3a060c8f576a97adfdd4329b3157 [diff] |
iio: magn: ak8975: refactor regulator handlers Move the regulator_get() calls directly into the probe() function, keep only the power_on()/power_off() functions to flick the regulators on/off. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>