]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: sun4i: switch to managed controller allocation
authorJohan Hovold <johan@kernel.org>
Tue, 5 May 2026 07:29:01 +0000 (09:29 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 May 2026 00:55:48 +0000 (09:55 +0900)
commit02b36d644ded410e8f70cdd78d0c5d523252bafd
tree3438d39803bda9923b88437bfce483ca839b9bdf
parentd3cf5ebdf1c9fa909ae8de5be041eac2658c0c68
spi: sun4i: 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-13-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sun4i.c