summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-03-03 13:25:30 +0100
committerJonathan Cameron <jic23@kernel.org>2013-03-17 20:49:43 +0100
commit0d23d328c01db48d87ce3a3c9cc13a47c37dab0c (patch)
tree4a0502a9bbf216b49ac10711faeed4abee27cce3 /drivers/iio
parentstaging:iio:resolver:ad2s90 move to info_mask_(shared_by_type/separate) (diff)
downloadlinux-0d23d328c01db48d87ce3a3c9cc13a47c37dab0c.tar.xz
linux-0d23d328c01db48d87ce3a3c9cc13a47c37dab0c.zip
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')
-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, \
}