From 2bbc7247259f0d27c84b0e0746bd5e9831e39c36 Mon Sep 17 00:00:00 2001 From: Naveen Krishna Ch Date: Wed, 30 Apr 2014 10:26:00 +0100 Subject: [PATCH] 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 Reviewed-by: Doug Anderson Signed-off-by: Jonathan Cameron --- Reading git-format-patch failed