staging:iio:adc:mxs move to info_mask_(shared_by_type/separate)
authorJonathan Cameron <jic23@kernel.org>
Mon, 4 Mar 2013 21:08:17 +0000 (21:08 +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>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/staging/iio/adc/mxs-lradc.c

index 55a459b..25a4359 100644 (file)
@@ -822,7 +822,7 @@ static const struct iio_buffer_setup_ops mxs_lradc_buffer_ops = {
        .type = (chan_type),                                    \
        .indexed = 1,                                           \
        .scan_index = (idx),                                    \
-       .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,            \
+       .info_mask_separate = BIT(IIO_CHAN_INFO_RAW),           \
        .channel = (idx),                                       \
        .scan_type = {                                          \
                .sign = 'u',                                    \