]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: at91-usart: switch to managed controller allocation
authorJohan Hovold <johan@kernel.org>
Wed, 29 Apr 2026 09:13:15 +0000 (11:13 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2026 13:09:17 +0000 (22:09 +0900)
commit5113e23077103e6e92b21133065e5a4b5fd09c47
tree70b29fcb1cefb0c5947706023344eb34dafb3a6d
parentae4ccd216dd3a9fa89a87a295380f6d62c4832ed
spi: at91-usart: 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-2-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-at91-usart.c