spi: s3c64xx: Use dev_err_probe()
authorAndi Shyti <andi.shyti@kernel.org>
Tue, 6 Jun 2023 01:20:51 +0000 (03:20 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jun 2023 12:53:39 +0000 (13:53 +0100)
commitb4f273774c8b2b7c6f5e0cb9b18a234a8ca322b4
tree94c5578c8078a0b326e580d640126c3cd7e8183c
parent76fbad410c0fed0c203c22e7e5ef8455725f3338
spi: s3c64xx: Use dev_err_probe()

Simplify the code by using dev_err_probe() instead of dev_err()
and 'return'.

Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20230606012051.2139333-3-andi.shyti@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c