]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
spi: switch to managed controller allocation (part 2/3)
authorMark Brown <broonie@kernel.org>
Mon, 11 May 2026 00:55:56 +0000 (09:55 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 11 May 2026 00:55:56 +0000 (09:55 +0900)
Johan Hovold <johan@kernel.org> says:

In preparation for fixing the SPI controller API so that it no longer
drops a reference when deregistering (non-managed) controllers (cf.
[1]), this series converts drivers using non-managed registration to use
managed allocation.

Included is also a related cleanup of a ti-qspi error path.

This second set will be followed by a third set of 12 patches for
drivers using managed registration.

That leaves us with 18 drivers using non-managed allocation, which is
few enough to be able to fix the API in tree-wide change.

Johan

[1] https://lore.kernel.org/lkml/20260325145319.1132072-1-johan@kernel.org/

Link: https://patch.msgid.link/20260505072909.618363-1-johan@kernel.org
1  2 
drivers/spi/spi-microchip-core-qspi.c

Simple merge