iio: mxs-lradc: remove useless check
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 18 Jan 2014 19:05:00 +0000 (19:05 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 3 Feb 2014 19:07:44 +0000 (19:07 +0000)
Checking the channel number is useless since mxs_lradc_read_raw() is called from
a controlled environment and the driver is responsible for filing the struct
iio_chan_spec.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found