diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-01-01 19:13:24 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-01-05 19:59:50 +0100 |
commit | 1f202725b70c3d6dc736904a0d1b77a5faed6690 (patch) | |
tree | 2ed4ac6cdaa8bdbd34c5f5da25a9021e66a2fbba /drivers/iio/imu/adis.c | |
parent | iio: driver for Semtech SX9500 proximity solution (diff) | |
download | linux-1f202725b70c3d6dc736904a0d1b77a5faed6690.tar.xz linux-1f202725b70c3d6dc736904a0d1b77a5faed6690.zip |
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 <stefan.wahren@i2se.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/imu/adis.c')
0 files changed, 0 insertions, 0 deletions