Skip to content
Commit ab0afa65 authored by Alexandru Tachici's avatar Alexandru Tachici Committed by Jonathan Cameron
Browse files

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: default avatarAlexandru Tachici <alexandru.tachici@analog.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 1d8690fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment