diff options
author | Mateusz Majewski <m.majewski2@samsung.com> | 2023-12-01 10:56:20 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2024-01-02 09:33:19 +0100 |
commit | 52ef6f567e6b9a878a8e0e5d6367aa65a08227a5 (patch) | |
tree | e49fd68ea1e4c977f2c0006c2d4f461a1cdb0619 /net/tls | |
parent | thermal/drivers/exynos: Wwitch from workqueue-driven interrupt handling to th... (diff) | |
download | linux-52ef6f567e6b9a878a8e0e5d6367aa65a08227a5.tar.xz linux-52ef6f567e6b9a878a8e0e5d6367aa65a08227a5.zip |
thermal/drivers/exynos: Handle devm_regulator_get_optional return value correctly
Currently, if regulator is required in the SoC, but
devm_regulator_get_optional fails for whatever reason, the execution
will proceed without propagating the error. Meanwhile there is no
reason to output the error in case of -ENODEV.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20231201095625.301884-5-m.majewski2@samsung.com
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions