]> git.ipfire.org Git - thirdparty/linux.git/commit
spi: fix misleading controller registration kernel-doc
authorJohan Hovold <johan@kernel.org>
Thu, 12 Mar 2026 15:18:16 +0000 (16:18 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 16 Mar 2026 18:36:05 +0000 (18:36 +0000)
commitedc463d72d697ff22da8ba96c0fcb25f3586d9a2
tree677e40716243e84afebb20d4f8a4f7ee5219e3e6
parentd5b4cb41b9a244e5571f9a589e77cc38ac5ebcc3
spi: fix misleading controller registration kernel-doc

The controller reference count is not decremented on registration
failures (and has not been for a very long time) contrary to what the
outdated kernel-doc says.

Drop the entire sentence about return values which are now documented in
the Return section.

Fixes: b885244eb262 ("[PATCH] spi: add spi_driver to SPI framework")
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260312151817.32100-5-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c