diff options
author | Hartmut Knaack <knaack.h@gmx.de> | 2015-05-31 14:40:14 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-31 19:43:50 +0100 |
commit | 53118557b6a9c263e4a80825da367b2116529541 (patch) | |
tree | 4339029fde36a15974c2271d948c219f5967b2fb /tools/thermal | |
parent | 963f54cef23b7e8c91bbe60b978b5f4a3e990f2c (diff) | |
download | talos-obmc-linux-53118557b6a9c263e4a80825da367b2116529541.tar.gz talos-obmc-linux-53118557b6a9c263e4a80825da367b2116529541.zip |
tools:iio:iio_utils: add error handling
Add error handling to calls which can indicate a major problem by
returning an error code.
This also sets ret to -ENOENT in iioutils_get_type() and
iioutils_get_param_float() to indicate if no matching directory entry was
found.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions