]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: slave-mt27xx: switch to managed controller allocation
authorJohan Hovold <johan@kernel.org>
Tue, 5 May 2026 07:28:58 +0000 (09:28 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 May 2026 00:55:45 +0000 (09:55 +0900)
commitcd1cd2ff56bf106a71d3170d6b74d08386d99428
treed3bebd308ab94fcf15b0a7759f2610cbb896684e
parentfd260013577d0a6f3b6a8b07d059c34fb710efac
spi: slave-mt27xx: 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/20260505072909.618363-10-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-slave-mt27xx.c