提交 f1e067ba 编写于 作者: J Jonathan Cameron

staging:iio:adc:spear 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: NJonathan Cameron <jic23@kernel.org>
Acked-by: NStefan Roese <sr@denx.de>
上级 7657719f
...@@ -180,8 +180,8 @@ static int spear_read_raw(struct iio_dev *indio_dev, ...@@ -180,8 +180,8 @@ static int spear_read_raw(struct iio_dev *indio_dev,
#define SPEAR_ADC_CHAN(idx) { \ #define SPEAR_ADC_CHAN(idx) { \
.type = IIO_VOLTAGE, \ .type = IIO_VOLTAGE, \
.indexed = 1, \ .indexed = 1, \
.info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \
IIO_CHAN_INFO_SCALE_SHARED_BIT, \ .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE), \
.channel = idx, \ .channel = idx, \
.scan_type = { \ .scan_type = { \
.sign = 'u', \ .sign = 'u', \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册