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:
f1e067b
)
staging:iio:adc:mxs move to info_mask_(shared_by_type/separate)
author
Jonathan Cameron
<jic23@kernel.org>
Mon, 4 Mar 2013 21:08:17 +0000
(21:08 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 17 Mar 2013 19:49:43 +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>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/staging/iio/adc/mxs-lradc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/adc/mxs-lradc.c
b/drivers/staging/iio/adc/mxs-lradc.c
index 55a459b619070d1752d2473cd5fe6392b7d976aa..25a4359a92dbe0e418dc98156ba69a6ccc0e8279 100644
(file)
--- a/
drivers/staging/iio/adc/mxs-lradc.c
+++ b/
drivers/staging/iio/adc/mxs-lradc.c
@@
-822,7
+822,7
@@
static const struct iio_buffer_setup_ops mxs_lradc_buffer_ops = {
.type = (chan_type), \
.indexed = 1, \
.scan_index = (idx), \
- .info_mask
= IIO_CHAN_INFO_RAW_SEPARATE_BIT,
\
+ .info_mask
_separate = BIT(IIO_CHAN_INFO_RAW),
\
.channel = (idx), \
.scan_type = { \
.sign = 'u', \