diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2025-01-09 12:23:25 -0600 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-02-03 19:15:37 +0000 |
| commit | a4a947a74190594a6ebde765d829f216a74c7329 (patch) | |
| tree | 04dd87e3d992f9e6ae2ca8ce70dcfaea7522ed9e /include/linux | |
| parent | 0302507541a8fdc0fe2805554c2c0e404fd38f4c (diff) | |
iio: adc: stm32: Drop unnecessary DT property presence check
There's no reason to check for regulator supply property presence before
calling devm_regulator_get_optional() as that will return -ENODEV if
the supply is not present.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Tested-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://patch.msgid.link/20250109182325.3973684-2-robh@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
