]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: orion: clean up probe return value
authorJohan Hovold <johan@kernel.org>
Tue, 21 Apr 2026 13:02:11 +0000 (15:02 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 Apr 2026 12:49:16 +0000 (13:49 +0100)
commitfa5061daffe841c2577c987c4f3515c45e53b775
tree4b1986f88501e5d98795b89cd96ebef88295e89b
parent443cde0dc59c5d154156ac9f27a7dadef8ebc0c2
spi: orion: clean up probe return value

Drop the redundant initialisation and return explicit zero on successful
probe to make the code more readable.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260421130211.1537628-4-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-orion.c