]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: omap2-mcspi: clean up probe return value
authorJohan Hovold <johan@kernel.org>
Thu, 30 Apr 2026 12:02:00 +0000 (14:02 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2026 13:12:00 +0000 (22:12 +0900)
commit46bd1fafc494744cd099f605b364f6fbb097069e
tree44cb8a3e45de29b611fb3a0794a63b65b89c2c5d
parent186fda6ee1ac5f61b847ab8d65560252c8eae06f
spi: omap2-mcspi: clean up probe return value

Return explicit zero on successful probe to clearly separate the success
and error paths and make the code more readable.

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