]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: pic32: switch to managed controller allocation
authorJohan Hovold <johan@kernel.org>
Tue, 5 May 2026 07:28:50 +0000 (09:28 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 May 2026 00:55:39 +0000 (09:55 +0900)
commit4af89d7d8552a1f0437521acf89fa51601bce973
tree245b4d57c8e4711da1ee298e4a59228f460256a1
parent5d6919055dec134de3c40167a490f33c74c12581
spi: pic32: 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-2-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pic32.c