[PATCH v4 0/4] spi: Header and core clean up and refactoring
From: Andy Shevchenko
Date: Fri Jul 14 2023 - 05:18:06 EST
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: 20230711171756.86736-1-andriy.shevchenko@xxxxxxxxxxxxxxx
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: 20230710154932.68377-1-andriy.shevchenko@xxxxxxxxxxxxxxx
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(-)
--
2.40.0.1.gaa8946217a0b