diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-01-18 19:05:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-02-03 19:07:44 +0000 |
commit | c842f241956f880fbba9bc041b196a249f80d131 (patch) | |
tree | bd426f6fc3db092fee92a7554ba120b829eb89ae /drivers/iio/adc | |
parent | 1a0e576661487db2c7a2b4c7844ea38c46beda9e (diff) |
iio: mxs-lradc: remove useless check
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>
Diffstat (limited to 'drivers/iio/adc')
0 files changed, 0 insertions, 0 deletions