iio: cm32181: Fix read integration time function
authorBeomho Seo <beomho.seo@samsung.com>
Wed, 3 Dec 2014 00:57:00 +0000 (00:57 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 15 Mar 2014 15:16:42 +0000 (15:16 +0000)
commit41c897f8789d0d1039ed873ddcd0caabd5756e0f
treeb017e46248bfe4969567e2398895c7ef3218d0cc
parent467a44b0372d8268ce5bd90e58bde7db51c1d476
iio: cm32181: Fix read integration time function

In read integration time function, assign 0 to val.
Because, prevent return inaccurate value when call read integration time.
Cc: Stable@vger.kernel.org
Cc: Kevin Tsai <ktsai@capellamicro.com>
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/cm32181.c