]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: mt65xx: Remove the use of dev_err_probe()
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 19 Aug 2025 09:20:41 +0000 (17:20 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 19 Aug 2025 12:06:01 +0000 (13:06 +0100)
commit2bee48c9d1cd1749922d0e2df54330c924e14a0e
tree25fd7074e3b17132d7170cd59335600b1f6147c5
parent2aade32d1ffc5f91cc447ed6387c0f619fb980c3
spi: mt65xx: 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-5-zhao.xichao@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mt65xx.c