]> git.ipfire.org Git - thirdparty/linux.git/commit
spi: Remove the use of dev_err_probe()
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 19 Aug 2025 09:20:40 +0000 (17:20 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 19 Aug 2025 12:06:00 +0000 (13:06 +0100)
commit2aade32d1ffc5f91cc447ed6387c0f619fb980c3
tree073d3c4511158ee5caccd56179ed9be903eda6a0
parent0d00ebc6b869f4df67c05522bc1e8d01d1c7daa7
spi: 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>
Link: https://patch.msgid.link/20250819092044.549464-4-zhao.xichao@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-microchip-core-qspi.c
drivers/spi/spi-microchip-core.c