mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
iio:adc:ti_am335x_adc 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: Patil, Rachna <rachna@ti.com>
This commit is contained in:
parent
c8fe38a7dd
commit
6c57252203
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ static int tiadc_channel_init(struct iio_dev *indio_dev, int channels)
|
|||
chan->type = IIO_VOLTAGE;
|
||||
chan->indexed = 1;
|
||||
chan->channel = i;
|
||||
chan->info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT;
|
||||
chan->info_mask_separate = BIT(IIO_CHAN_INFO_RAW);
|
||||
}
|
||||
|
||||
indio_dev->channels = chan_array;
|
||||
|
|
Loading…
Reference in a new issue