iio:dac:max517 move to info_mask_(shared_by_type/separate)
authorJonathan Cameron <jic23@kernel.org>
Wed, 27 Feb 2013 19:28:22 +0000 (19:28 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 17 Mar 2013 19:49:34 +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/iio/dac/max517.c

index 352abe2004a4cd46a4542439c40659feb9b61f9f..ebfaa4156246fde0db21df9ddad241079dcf3102 100644 (file)
@@ -146,8 +146,8 @@ static const struct iio_info max517_info = {
        .indexed = 1,                                   \
        .output = 1,                                    \
        .channel = (chan),                              \
-       .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT |   \
-       IIO_CHAN_INFO_SCALE_SEPARATE_BIT,               \
+       .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) |  \
+       BIT(IIO_CHAN_INFO_SCALE),                       \
        .scan_type = IIO_ST('u', 8, 8, 0),              \
 }