summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/exynos_adc.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-03-03 12:25:30 +0000
committerJonathan Cameron <jic23@kernel.org>2013-03-17 19:49:43 +0000
commit0d23d328c01db48d87ce3a3c9cc13a47c37dab0c (patch)
tree4a0502a9bbf216b49ac10711faeed4abee27cce3 /drivers/iio/adc/exynos_adc.c
parent3589ba994317ba10c4ceb72599ede23850df23fb (diff)
downloadlinux-0d23d328c01db48d87ce3a3c9cc13a47c37dab0c.tar.bz2
iio:adc:exynos move to info_mask_(shared_by_type/separate)
The original info_mask is going away in favour of the broken out versions. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Diffstat (limited to 'drivers/iio/adc/exynos_adc.c')
-rw-r--r--drivers/iio/adc/exynos_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c
index ed6fdd7e5212..6e968ae48c8a 100644
--- a/drivers/iio/adc/exynos_adc.c
+++ b/drivers/iio/adc/exynos_adc.c
@@ -198,7 +198,7 @@ static const struct iio_info exynos_adc_iio_info = {
.indexed = 1, \
.channel = _index, \
.address = _index, \
- .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, \
+ .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \
.datasheet_name = _id, \
}