diff options
author | 2012-12-14 07:47:00 +0000 | |
---|---|---|
committer | 2012-12-27 10:59:56 +0000 | |
commit | 36ce0c1c3ab7ea54fa6c2b3a0803c7ab0adcefbf (patch) | |
tree | 1e9b42dfe688996db2a84319d764a6ff92bb9766 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | iio: hid-sensors: respect CONFIG_IIO_TRIGGER (diff) | |
download | linux-dev-36ce0c1c3ab7ea54fa6c2b3a0803c7ab0adcefbf.tar.xz linux-dev-36ce0c1c3ab7ea54fa6c2b3a0803c7ab0adcefbf.zip |
iio: adc: ad7266: Don't set error code to st->vref_uv
regulator_get_voltage() may return negative error code.
Add error checking to avoid setting error code to st->vref_uv.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions