thermal/drivers/rockchip: Use dev_err_probe
authorSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 8 Mar 2023 11:22:49 +0000 (12:22 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 7 Apr 2023 08:31:32 +0000 (10:31 +0200)
commitcb71c5f904c5b7e84d770c87bebc5df0bec200a4
tree36136bc0788d014fc8c07c4c0fb3b4dfae5217d3
parent2f6916f12c0e46ecd4c2b793a014132140730560
thermal/drivers/rockchip: Use dev_err_probe

Use dev_err_probe to simplify error printing in the driver's probe
routine.

Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230308112253.15659-4-sebastian.reichel@collabora.com
drivers/thermal/rockchip_thermal.c