iio:adc:exynos move to info_mask_(shared_by_type/separate)
authorJonathan Cameron <jic23@kernel.org>
Sun, 3 Mar 2013 12:25:30 +0000 (12:25 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 17 Mar 2013 19:49:43 +0000 (19:49 +0000)
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>
drivers/iio/adc/exynos_adc.c

index ed6fdd7e521206d269f29e065e7cdcdbdd80c346..6e968ae48c8a6f5ce887154d5f1a208053339135 100644 (file)
@@ -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,                          \
 }