From: Hartmut Knaack Date: Sun, 31 May 2015 12:40:14 +0000 (+0200) Subject: tools:iio:iio_utils: add error handling X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~256^2~33 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53118557b6a9c263e4a80825da367b2116529541;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed