]> www.infradead.org Git - users/willy/xarray.git/commit
thermal/drivers/imx_sc_thermal: Use dev_err_probe
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 17 Jul 2024 08:55:16 +0000 (10:55 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 4 Sep 2024 13:31:29 +0000 (15:31 +0200)
commit7d8abc5f3b5ce0f53d499279d8defc0f72bf7557
tree6d83c252a89d5b49e7bafbe71f2f4d3cf7cf2d0b
parent14ed0ef0a27a0646ecd7dc6f61cde3f6ba2b303b
thermal/drivers/imx_sc_thermal: Use dev_err_probe

This adds the error code to the error message and also stores that
message in case of probe deferral.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20240717085517.3333385-1-alexander.stein@ew.tq-group.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/imx_sc_thermal.c