summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/lp8788_adc.c
diff options
context:
space:
mode:
authorNaveen Krishna Ch <ch.naveen@samsung.com>2014-04-30 10:26:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-04-30 21:42:53 +0100
commit2bbc7247259f0d27c84b0e0746bd5e9831e39c36 (patch)
tree0887f782c905de7d38a545518db3ca3b065b3811 /drivers/iio/adc/lp8788_adc.c
parentb4a2d475ae9baf8fcaa311ba62a404ba1efad147 (diff)
downloadtalos-op-linux-2bbc7247259f0d27c84b0e0746bd5e9831e39c36.tar.gz
talos-op-linux-2bbc7247259f0d27c84b0e0746bd5e9831e39c36.zip
iio: exynos_adc: rearrange clk and regulator enable/disable calls
This patch maintains the following order in probe(), remove(), resume() and suspend() calls regulator enable, clk prepare enable ... clk disable unprepare, regulator disable While at it, 1. enable the regulator before the iio_device_register() 2. handle the return values for enable/disable calls Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Reviewed-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/lp8788_adc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud