aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-10-05 10:27:55 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-05 16:47:46 -0400
commit4a70513074091e814fd5444c75f572691b7ba588 (patch)
tree7b2c9328666f3b21f6c92f91c4c61afbeb19a827
parent48a2c3799b7141c271a771d3249142a104faeefc (diff)
staging:iio:lisght:isl29018 use IIO_PROCESSED enum value.
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>
-rw-r--r--drivers/staging/iio/light/isl29018.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c
index 3e9a06c20506..6958aa5809ad 100644
--- 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[] = {
420 .type = IIO_LIGHT, 420 .type = IIO_LIGHT,
421 .indexed = 1, 421 .indexed = 1,
422 .channel = 0, 422 .channel = 0,
423 .processed_val = 1, 423 .processed_val = IIO_PROCESSED,
424 .info_mask = (1 << IIO_CHAN_INFO_CALIBSCALE_SEPARATE), 424 .info_mask = (1 << IIO_CHAN_INFO_CALIBSCALE_SEPARATE),
425 }, { 425 }, {
426 .type = IIO_INTENSITY, 426 .type = IIO_INTENSITY,