]> git.ipfire.org Git - thirdparty/linux.git/commit
spi: s3c64xx: Remove the use of dev_err_probe()
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 19 Aug 2025 09:20:43 +0000 (17:20 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 19 Aug 2025 12:06:03 +0000 (13:06 +0100)
commit27848c082ba0b22850fd9fb7b185c015423dcdc7
treedd618e02823526ab2e2c7c2c1a12e299e5d48a8e
parent67259af78219bdbdea00491f32b1c0971a33401e
spi: s3c64xx: Remove the use of dev_err_probe()

The dev_err_probe() doesn't do anything when error is '-ENOMEM'. Therefore,
remove the useless call to dev_err_probe(), and just return the value instead.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://patch.msgid.link/20250819092044.549464-7-zhao.xichao@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c