commit | ab0afa65bbc7eee9a4f5d864781e949820e0aa2c | [log] [tgz] |
---|---|---|
author | Alexandru Tachici <alexandru.tachici@analog.com> | Wed Feb 12 18:17:17 2020 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Mar 08 17:28:32 2020 +0000 |
tree | 4b8390c63bc227754707d6311a02a1bd557aa6bf | |
parent | 1d8690fe61c9e83a59b74a223ab94de3f889bc74 [diff] |
staging: iio: adc: ad7192: fail probe on get_voltage This patch makes the ad7192_probe fail in case regulator_get_voltage will return an error or voltage is set to 0. Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>