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