]> Pileus Git - ~andy/linux/commit
staging:iio:light Add IIO_CHAN_INFO_RAW/PROCESSED entries to all drivers.
authorJonathan Cameron <jic23@kernel.org>
Sun, 15 Apr 2012 16:41:22 +0000 (17:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 23:38:20 +0000 (16:38 -0700)
commit90354d0038e9e3d82d5fee5442d48f7cafb96a0c
tree3be19b32499bb455456edf8579d04ee1fb230f93
parenta5d016d46630968fcf9c329f5cf522a7c03b3888
staging:iio:light Add IIO_CHAN_INFO_RAW/PROCESSED entries to all drivers.

Precursor to making value read / write attribute optional.
Note that minimal change route taken here. The read_raw callbacks
in both drivers could do fewer checks to identify the channel than
they now do.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/light/isl29018.c
drivers/staging/iio/light/tsl2563.c