summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/ad7887.c
diff options
context:
space:
mode:
authorNaveen Krishna Ch <ch.naveen@samsung.com>2014-04-30 11:26:00 +0200
committerJonathan Cameron <jic23@kernel.org>2014-04-30 22:42:53 +0200
commit2bbc7247259f0d27c84b0e0746bd5e9831e39c36 (patch)
tree0887f782c905de7d38a545518db3ca3b065b3811 /drivers/iio/adc/ad7887.c
parentiio: Added ABI description for quaternion (diff)
downloadlinux-2bbc7247259f0d27c84b0e0746bd5e9831e39c36.tar.xz
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/ad7887.c')
0 files changed, 0 insertions, 0 deletions