staging:iio:lisght:isl29018 use IIO_PROCESSED enum value.
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 5 Oct 2011 14:27:55 +0000 (15:27 +0100)
committerGreg 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

index 3e9a06c20506fa903e3156130339b5709dbd3d34..6958aa5809ad1498db6394cfbc014853e20f671b 100644 (file)
@@ -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,