From: Alexandre Belloni Date: Sat, 18 Jan 2014 19:05:00 +0000 (+0000) Subject: iio: mxs-lradc: remove useless check X-Git-Tag: v3.15-rc1~139^2~1171^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c842f241956f880fbba9bc041b196a249f80d131;p=pandora-kernel.git 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 Acked-by: Marek Vasut Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed