Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio:accel:kxsd9 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>

+3 -3
+3 -3
drivers/iio/accel/kxsd9.c
··· 177 177 .type = IIO_ACCEL, \ 178 178 .modified = 1, \ 179 179 .channel2 = IIO_MOD_##axis, \ 180 - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ 181 - IIO_CHAN_INFO_SCALE_SHARED_BIT, \ 180 + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \ 181 + .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE), \ 182 182 .address = KXSD9_REG_##axis, \ 183 183 } 184 184 ··· 186 186 KXSD9_ACCEL_CHAN(X), KXSD9_ACCEL_CHAN(Y), KXSD9_ACCEL_CHAN(Z), 187 187 { 188 188 .type = IIO_VOLTAGE, 189 - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, 189 + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), 190 190 .indexed = 1, 191 191 .address = KXSD9_REG_AUX, 192 192 }