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: NAlexandru Tachici <alexandru.tachici@analog.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
Showing
想要评论请 注册 或 登录