staging:iio:adc:lpc32xx move to info_mask_(shared_by_type/separate)
authorJonathan Cameron <jic23@kernel.org>
Mon, 4 Mar 2013 21:10:17 +0000 (21:10 +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>
cc: Roland Stigge <stigge@antcom.de>

drivers/staging/iio/adc/lpc32xx_adc.c

index 0bf2a6cc79e0507ac93b546306f4fb1d488d09a6..2f2f7fdd06913b7bfbdafd7a077c83deb779b9f5 100644 (file)
@@ -103,7 +103,7 @@ static const struct iio_info lpc32xx_adc_iio_info = {
        .type = IIO_VOLTAGE,                            \
        .indexed = 1,                                   \
        .channel = _index,                              \
-       .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,    \
+       .info_mask_separate = BIT(IIO_CHAN_INFO_RAW),   \
        .address = AD_IN * _index,                      \
        .scan_index = _index,                           \
 }