]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: octeon: switch to managed controller allocation
authorJohan Hovold <johan@kernel.org>
Wed, 29 Apr 2026 09:13:20 +0000 (11:13 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2026 13:09:21 +0000 (22:09 +0900)
commiteab6ce941217cf12190945d6f8068306ccd4f6eb
treefc73c4b548e33c8e9dca6a4859a22e74bb88a68e
parent83c4ded3917d0cf5bcb1899c2747cede8dc6ab14
spi: octeon: switch to managed controller allocation

Switch to device managed controller allocation to simplify error
handling and to avoid having to take another reference during
deregistration.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260429091333.165363-7-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cavium-octeon.c