]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: orion: switch to managed controller allocation
authorJohan Hovold <johan@kernel.org>
Wed, 29 Apr 2026 09:13:33 +0000 (11:13 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2026 13:09:32 +0000 (22:09 +0900)
commitbdab3707ddfdf89a054b2372a984316c84d3ce43
treea3e7cd1a1de01571fff35a925b0b0e3d1740da94
parentc0c6875f0b7de6094f15ffd5b1dcebb3cebe53e1
spi: orion: 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-20-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-orion.c