diff options
author | Axel Lin <[email protected]> | 2012-12-14 07:47:00 +0000 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2012-12-27 10:59:56 +0000 |
commit | 36ce0c1c3ab7ea54fa6c2b3a0803c7ab0adcefbf (patch) | |
tree | 1e9b42dfe688996db2a84319d764a6ff92bb9766 /net/lapb/lapb_iface.c | |
parent | 9541cc39a6381b76dac30c8e05078eb0a543f113 (diff) |
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 <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions