iio: inkern: add out of range error message
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 1 Jan 2015 18:13:24 +0000 (18:13 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 5 Jan 2015 18:59:50 +0000 (18:59 +0000)
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 <stefan.wahren@i2se.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/inkern.c

Simple merge