]> git.baikalelectronics.ru Git - kernel.git/commit
iio: cm36651: Changed return value of read function
authorBeomho Seo <beomho.seo@samsung.com>
Mon, 9 Dec 2013 02:17:00 +0000 (02:17 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 15 Dec 2013 17:38:02 +0000 (17:38 +0000)
commit73bfcbd1c261bcee4c3d4ea34d38e06f8b671987
treeef51a009ec9fc5607315526b3261a3f32b1b0c8d
parentab64d6f0a5f7aff8f4ef93ce9038822ee5837ef8
iio: cm36651: Changed return value of read function

A return value of callback have been changed to IIO_VAL_INT.
If not IIO_VAL_INT, driver will print wrong value(*_read_int_time).

A follow up patch will deal with a related bug in the new event handling
code.

Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/cm36651.c