summaryrefslogtreecommitdiff
path: root/drivers/thermal/sun8i_thermal.c
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2023-06-25 13:11:33 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-06-26 12:10:22 +0200
commit57c9eaa4de537e6f08819d9214de502cac5a989c (patch)
tree3a01eda925cfae37d1991acf304be576d2ec67f3 /drivers/thermal/sun8i_thermal.c
parent85b21fdec906ecd46856618910f8762afecbf1e9 (diff)
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 'drivers/thermal/sun8i_thermal.c')
0 files changed, 0 insertions, 0 deletions