]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
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)
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.

1  2 
drivers/spi/spi-amlogic-spisg.c

Simple merge