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:
78a5fa6
)
staging:iio:adc:lpc32xx move to info_mask_(shared_by_type/separate)
author
Jonathan Cameron
<jic23@kernel.org>
Mon, 4 Mar 2013 21:10:17 +0000
(21:10 +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>
cc: Roland Stigge <stigge@antcom.de>
drivers/staging/iio/adc/lpc32xx_adc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/adc/lpc32xx_adc.c
b/drivers/staging/iio/adc/lpc32xx_adc.c
index 0bf2a6cc79e0507ac93b546306f4fb1d488d09a6..2f2f7fdd06913b7bfbdafd7a077c83deb779b9f5 100644
(file)
--- a/
drivers/staging/iio/adc/lpc32xx_adc.c
+++ b/
drivers/staging/iio/adc/lpc32xx_adc.c
@@
-103,7
+103,7
@@
static const struct iio_info lpc32xx_adc_iio_info = {
.type = IIO_VOLTAGE, \
.indexed = 1, \
.channel = _index, \
- .info_mask
= IIO_CHAN_INFO_RAW_SEPARATE_BIT,
\
+ .info_mask
_separate = BIT(IIO_CHAN_INFO_RAW),
\
.address = AD_IN * _index, \
.scan_index = _index, \
}