iio:light:cm3323: replace unneeded variable
authorHartmut Knaack <knaack.h@gmx.de>
Wed, 17 Jun 2015 22:32:03 +0000 (00:32 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 Jun 2015 13:27:38 +0000 (14:27 +0100)
commit0ff8c78df8d7c32394b887de4d935962a7f373ce
tree65a5c998e96ac148d78e3a72446e1f3d5586a687
parente5c97027449f235415990310e47071ec371fd46c
iio:light:cm3323: replace unneeded variable

In cm3323_read_raw() i is used as return variable for the integration time
index. The also existing return variable ret however is unused in this
case, although appropriate. Replace i with ret and drop it.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/cm3323.c