spi: rockchip-sfc: Use dev_err_probe() in the probe path
authorDragan Simic <dsimic@manjaro.org>
Sun, 29 Sep 2024 09:21:15 +0000 (11:21 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 8 Oct 2024 17:41:05 +0000 (18:41 +0100)
commit7d46b8d8d78338a2ad986eec0790ddb22fad23a8
tree9202e92ec24b0e03b4c38d6f940222841a1f6cee
parentcb91287b3b6d42e66f948fbc304f771792c2852f
spi: rockchip-sfc: Use dev_err_probe() in the probe path

Use function dev_err_probe() in the probe path instead of dev_err() where
appropriate, to make the code a bit more uniform and compact.

Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://patch.msgid.link/398229ef316e64dc0c27944ea793dcddef1ead4e.1727601608.git.dsimic@manjaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip-sfc.c