Commit 040b837e718408436b79c2aaf68ed86b09682af4

Authored by Jonathan Cameron
1 parent 7611294799

iio:dac:max517 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>
cc: Roland Stigge <stigge@antcom.de>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/iio/dac/max517.c
... ... @@ -146,8 +146,8 @@
146 146 .indexed = 1, \
147 147 .output = 1, \
148 148 .channel = (chan), \
149   - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \
150   - IIO_CHAN_INFO_SCALE_SEPARATE_BIT, \
  149 + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \
  150 + BIT(IIO_CHAN_INFO_SCALE), \
151 151 .scan_type = IIO_ST('u', 8, 8, 0), \
152 152 }
153 153