mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
1d8690fe61
commit
ab0afa65bb
1 changed files with 5 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue