iio: exyno-adc: use syscon for PMU register access
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Tue, 16 Sep 2014 08:58:00 +0000 (09:58 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 5 Nov 2014 15:30:09 +0000 (15:30 +0000)
commitfafb37cfae6d228c0026fcf31d02e1c3db2e78ee
treefed1489f6e6e14df17cf5d175e137bd8089f0a1e
parentb6d5be57024a8edcc91d0c2549d63c68d67a2257
iio: exyno-adc: use syscon for PMU register access

This patch updates the IIO based ADC driver to use syscon and regmap
APIs to access and use PMU registers instead of remapping the PMU
registers in the driver.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
To: linux-iio@vger.kernel.org
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/exynos_adc.c