iio: mxs-lradc: indexes are unsigned
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 8 Jan 2013 01:05:17 +0000 (23:05 -0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 9 Jan 2013 20:06:22 +0000 (20:06 +0000)
commit7b7a4efe76a8a96b20f7ac8047869f43e65b10e4
tree50d2fe35d96d2fc00207bb7951ab097f3ed840b0
parent678fb42e2b2c815c3475884017aac4da22124d0d
iio: mxs-lradc: indexes are unsigned

Fix the following warning when building with W=1 option:

drivers/staging/iio/adc/mxs-lradc.c: In function 'mxs_lradc_trigger_handler':
drivers/staging/iio/adc/mxs-lradc.c:244:2: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/mxs-lradc.c