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:
48a2c37
)
staging:iio:lisght:isl29018 use IIO_PROCESSED enum value.
author
Jonathan Cameron
<jic23@cam.ac.uk>
Wed, 5 Oct 2011 14:27:55 +0000
(15:27 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 5 Oct 2011 20:47:46 +0000
(13:47 -0700)
No functional change, just a trivial tidy up so all drivers
do the same thing.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/light/isl29018.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/light/isl29018.c
b/drivers/staging/iio/light/isl29018.c
index 3e9a06c20506fa903e3156130339b5709dbd3d34..6958aa5809ad1498db6394cfbc014853e20f671b 100644
(file)
--- a/
drivers/staging/iio/light/isl29018.c
+++ b/
drivers/staging/iio/light/isl29018.c
@@
-420,7
+420,7
@@
static const struct iio_chan_spec isl29018_channels[] = {
.type = IIO_LIGHT,
.indexed = 1,
.channel = 0,
- .processed_val =
1
,
+ .processed_val =
IIO_PROCESSED
,
.info_mask = (1 << IIO_CHAN_INFO_CALIBSCALE_SEPARATE),
}, {
.type = IIO_INTENSITY,