Skip to content

spi: switch to managed controller allocation (part 3/3)

Johan Hovold linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12spi: altera-platform: switch to managed controller allocationdrivers/spi/spi-altera-platform.c+10 -170 replies
2/12spi: armada-3700: switch to managed controller allocationdrivers/spi/spi-armada-3700.c+14 -300 replies
3/12spi: clps711x: switch to managed controller allocationdrivers/spi/spi-clps711x.c+9 -220 replies
4/12spi: falcon: switch to managed controller allocationdrivers/spi/spi-falcon.c+2 -60 replies
5/12spi: fsi: switch to managed controller allocationdrivers/spi/spi-fsi.c+4 -40 replies
6/12spi: hisi-sfc-v3xx: switch to managed controller allocationdrivers/spi/spi-hisi-sfc-v3xx.c+6 -140 replies
7/12spi: jcore: switch to managed controller allocationdrivers/spi/spi-jcore.c+6 -170 replies
8/12spi: lp8841-rtc: switch to managed controller allocationdrivers/spi/spi-lp8841-rtc.c+4 -100 replies
9/12spi: lp8841-rtc: drop unused ifdefdrivers/spi/spi-lp8841-rtc.c+0 -20 replies
10/12spi: meson-spifc: switch to managed controller allocationdrivers/spi/spi-meson-spifc.c+8 -140 replies
11/12spi: mux: switch to managed controller allocationdrivers/spi/spi-mux.c+4 -150 replies
12/12spi: xlp: switch to managed controller allocationdrivers/spi/spi-xlp.c+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.53.0