From 4a70513074091e814fd5444c75f572691b7ba588 Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Wed, 5 Oct 2011 15:27:55 +0100 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/light/isl29018.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c index 3e9a06c2050..6958aa5809a 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[] = { .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, -- 2.39.2