diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2023-06-25 14:11:33 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-06-26 13:10:22 +0300 |
commit | 57c9eaa4de537e6f08819d9214de502cac5a989c (patch) | |
tree | 3a01eda925cfae37d1991acf304be576d2ec67f3 /Documentation | |
parent | 85b21fdec906ecd46856618910f8762afecbf1e9 (diff) | |
download | linux-57c9eaa4de537e6f08819d9214de502cac5a989c.tar.xz |
thermal/drivers/qcom/temp-alarm: Use dev_err_probe
Use the dev_err_probe function instead of dev_err in the probe function
so that the printed message includes the return value and also handles
-EPROBE_DEFER nicely.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230625-spmi-temp-alarm-defer-v1-1-2d57acf36855@z3ntu.xyz
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions