projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8fe38a
)
iio:adc:ti_am335x_adc move to info_mask_(shared_by_type/separate)
author
Jonathan Cameron
<jic23@kernel.org>
Wed, 27 Feb 2013 19:07:18 +0000
(19:07 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 17 Mar 2013 19:49:30 +0000
(19:49 +0000)
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>
drivers/iio/adc/ti_am335x_adc.c
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/ti_am335x_adc.c
b/drivers/iio/adc/ti_am335x_adc.c
index cd030e100c395416e4043ad6659f7030266b9b7e..5f9a7e7d313520c71529ffcea02c6f59cc816a93 100644
(file)
--- a/
drivers/iio/adc/ti_am335x_adc.c
+++ b/
drivers/iio/adc/ti_am335x_adc.c
@@
-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;