firmware: imx: scu: use dev_err_probe
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 31 Jan 2023 09:53:40 +0000 (10:53 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 6 Mar 2023 02:10:24 +0000 (10:10 +0800)
commit189cfa849d22c6ec39e7fac8d573075b35f865a2
tree85838c897cd5417805f3c7c5045da1ef405fb024
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
firmware: imx: scu: use dev_err_probe

This simplifies the code and silences -517 error messages. Also
the reason is listed in /sys/kernel/debug/devices_deferred.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/firmware/imx/imx-scu.c