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