Skip to content

spi: Header and core clean up and refactoring

Andy Shevchenko linux-can linux-spi lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 2 repliesIn review
  2. v314 patches 1 replySuperseded
  3. v215 patches 32 repliesApplied
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches10 repliesSuperseded

Changes in v4 from the cover letter

- dropped applied patches
- added tag to patch 1 (Sebastian)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4spi: Remove code duplication in spi_add_device*()drivers/spi/spi.c+10 -220 replies
2/4spi: Kill spi_add_device_locked()drivers/spi/spi.c+5 -100 replies
3/4spi: Use BITS_TO_BYTES()drivers/spi/spi.c+1 -30 replies
4/4spi: Use struct_size() helperinclude/linux/spi/spi.h+9 -61 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchSebastian Reichel
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/4] spi: Header and core clean up and refactoring

Various cleanups and refactorings of the SPI header and core parts united in a single series. It also touches drivers under SPI subsystem folder on the pure renaming purposes of some constants.

No functional change intended (with some subtle shortcuts which are explained in the respective commit messages).

Changelog v4:
- dropped applied patches
- added tag to patch 1 (Sebastian)

v3: [email protected]

Changelog v3:
- dropped controversial used to be patches 3,4,8,10 (Mark)
- amended many commit messages (Mark)
- added tag to patch 1 (AngeloGioacchino)
- split used to be patch 2 to patches 2 & 3 for better review (Mark)
- rewritten used to be patch 5 to patches 4 & 5 (Mark, Sebastian)
- added new patch 7
- fixed typos and added tag to patch 12 (Serge)

v2: [email protected]

Changelog v2:
- added new patches 3,4,5,10,13,14
- massaged comment and kernel doc in patch 9
- split used to be patch 4 to patches 11,12
- covered a few things in SPI core in patch 15
- amended commit message for above (Mark)
- reshuffled patches in the series for better logical grouping

Andy Shevchenko (4):
spi: Remove code duplication in spi_add_device*()
spi: Kill spi_add_device_locked()
spi: Use BITS_TO_BYTES()
spi: Use struct_size() helper

 drivers/spi/spi.c       | 51 +++++++++++++----------------------------
 include/linux/spi/spi.h | 15 +++++++-----
 2 files changed, 25 insertions(+), 41 deletions(-)
Signature · 1 line
2.40.0.1.gaa8946217a0b