Skip to content
Commit 46d6cbb8 authored by Ye Xingchen's avatar Ye Xingchen Committed by Daniel Lezcano
Browse files

thermal: amlogic: Use dev_err_probe()



Replace the open-code with dev_err_probe() to simplify the code.

Signed-off-by: default avatarYe Xingchen <ye.xingchen@zte.com.cn>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/202303241020110014476@zte.com.cn
parent 13f03bcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment