]> git.ipfire.org Git - thirdparty/linux.git/commit
siox: bus-gpio: Remove the use of dev_err_probe()
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 19 Aug 2025 12:17:49 +0000 (20:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:59:59 +0000 (15:59 +0200)
commit53d2bf583c6b6326d751d0f0dceba76109dfb0f9
tree7ebec656d140ff4e7b23aabb9d93f1f934b3d209
parent2828c318b3c124a370e2e8844a927734b8b49faf
siox: bus-gpio: 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>
Acked-by: Thorsten Scherer <t.scherer@eckelmann.de>
Link: https://lore.kernel.org/r/20250819121749.613584-1-zhao.xichao@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/siox/siox-bus-gpio.c