]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: Remove the use of dev_err_probe()
authorMark Brown <broonie@kernel.org>
Tue, 19 Aug 2025 17:45:38 +0000 (18:45 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 19 Aug 2025 17:45:38 +0000 (18:45 +0100)
commitb875b97017050b92c64273178a0b0d282ea67874
treea7d1f21a2b2a932dba678a40200b0510e4ecdb77
parentc1dd310f1d76b4b13f1854618087af2513140897
parent27848c082ba0b22850fd9fb7b185c015423dcdc7
spi: Remove the use of dev_err_probe()

Merge series from Xichao Zhao <zhao.xichao@vivo.com>:

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.
drivers/spi/spi-amlogic-spisg.c