diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-01-18 20:05:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-02-03 20:07:44 +0100 |
commit | c842f241956f880fbba9bc041b196a249f80d131 (patch) | |
tree | bd426f6fc3db092fee92a7554ba120b829eb89ae /drivers/iio | |
parent | staging:iio:accel:sca3000: Cleanup sca3000.h (diff) | |
download | linux-c842f241956f880fbba9bc041b196a249f80d131.tar.xz linux-c842f241956f880fbba9bc041b196a249f80d131.zip |
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')
0 files changed, 0 insertions, 0 deletions