summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2025-01-09 12:23:25 -0600
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-02-03 19:15:37 +0000
commita4a947a74190594a6ebde765d829f216a74c7329 (patch)
tree04dd87e3d992f9e6ae2ca8ce70dcfaea7522ed9e /include/linux
parent0302507541a8fdc0fe2805554c2c0e404fd38f4c (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