From: Stefan Wahren Date: Thu, 1 Jan 2015 18:13:24 +0000 (+0000) Subject: iio: inkern: add out of range error message X-Git-Tag: fixes-v4.0-rc1~99^2~245^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f202725b70c3d6dc736904a0d1b77a5faed6690;p=pandora-kernel.git iio: inkern: add out of range error message If the DT contains an invalid channel specifier then the probe of iio_hwmon fails with the following message: iio_hwmon: probe of iio_hwmon failed with error -22 So it's better to print out the relevant channel specifier in error case to locate the problem. Signed-off-by: Stefan Wahren Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed