[PATCH 00/12] spi: switch to managed controller allocation (part 3/3)

From: Johan Hovold

Date: Mon May 11 2026 - 11:06:01 EST


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 managed registration to also
use managed allocation.

Included is also a related cleanup of a lp8841-rtc.

This 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@xxxxxxxxxx/


Johan Hovold (12):
spi: altera-platform: switch to managed controller allocation
spi: armada-3700: switch to managed controller allocation
spi: clps711x: switch to managed controller allocation
spi: falcon: switch to managed controller allocation
spi: fsi: switch to managed controller allocation
spi: hisi-sfc-v3xx: switch to managed controller allocation
spi: jcore: switch to managed controller allocation
spi: lp8841-rtc: switch to managed controller allocation
spi: lp8841-rtc: drop unused ifdef
spi: meson-spifc: switch to managed controller allocation
spi: mux: switch to managed controller allocation
spi: xlp: switch to managed controller allocation

drivers/spi/spi-altera-platform.c | 27 +++++++------------
drivers/spi/spi-armada-3700.c | 44 ++++++++++---------------------
drivers/spi/spi-clps711x.c | 31 +++++++---------------
drivers/spi/spi-falcon.c | 8 ++----
drivers/spi/spi-fsi.c | 8 +++---
drivers/spi/spi-hisi-sfc-v3xx.c | 20 +++++---------
drivers/spi/spi-jcore.c | 23 +++++-----------
drivers/spi/spi-lp8841-rtc.c | 16 +++--------
drivers/spi/spi-meson-spifc.c | 22 ++++++----------
drivers/spi/spi-mux.c | 19 +++----------
drivers/spi/spi-xlp.c | 3 +--
11 files changed, 68 insertions(+), 153 deletions(-)

--
2.53.0