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:
6c57252
)
iio:adc:viperboard_adc move to info_mask_(shared_by_type/separate)
author
Jonathan Cameron
<jic23@kernel.org>
Wed, 27 Feb 2013 19:07:39 +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: Lars Poeschel <poeschel@lemonage.de>
drivers/iio/adc/viperboard_adc.c
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/viperboard_adc.c
b/drivers/iio/adc/viperboard_adc.c
index ad0261533deeded96c55bdf6ba8b7a60129c21ee..56ac481c73c0bde09575536f6a92066a7fc946c7 100644
(file)
--- a/
drivers/iio/adc/viperboard_adc.c
+++ b/
drivers/iio/adc/viperboard_adc.c
@@
-41,7
+41,7
@@
struct vprbrd_adc {
.type = IIO_VOLTAGE, \
.indexed = 1, \
.channel = _index, \
- .info_mask
= IIO_CHAN_INFO_RAW_SEPARATE_BIT,
\
+ .info_mask
_separate = BIT(IIO_CHAN_INFO_RAW),
\
.scan_index = _index, \
.scan_type = { \
.sign = 'u', \