aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-02-27 14:10:50 -0500
committerJonathan Cameron <jic23@kernel.org>2013-03-17 15:49:32 -0400
commitf8c627138ba621ae5bdf4ec9c21a63deff3581cc (patch)
treebedcc14bd668578c596ae0850cf900cb249080f6
parent2f6a4a44217f2dde7c7976c23eef377e90bfb9c7 (diff)
iio:dac:ad5449 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: Lars-Peter Clausen <lars@metafoo.de>
-rw-r--r--drivers/iio/dac/ad5449.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/dac/ad5449.c b/drivers/iio/dac/ad5449.c
index c4731b7b577b..ba1c914b0399 100644
--- a/drivers/iio/dac/ad5449.c
+++ b/drivers/iio/dac/ad5449.c
@@ -206,8 +206,8 @@ static const struct iio_info ad5449_info = {
206 .indexed = 1, \ 206 .indexed = 1, \
207 .output = 1, \ 207 .output = 1, \
208 .channel = (chan), \ 208 .channel = (chan), \
209 .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ 209 .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \
210 IIO_CHAN_INFO_SCALE_SEPARATE_BIT, \ 210 BIT(IIO_CHAN_INFO_SCALE), \
211 .address = (chan), \ 211 .address = (chan), \
212 .scan_type = IIO_ST('u', (bits), 16, 12 - (bits)), \ 212 .scan_type = IIO_ST('u', (bits), 16, 12 - (bits)), \
213} 213}