[PATCH v3 0/9] spi: pxa2xx: Drop linux/spi/pxa2xx_spi.h

From: Andy Shevchenko
Date: Wed Apr 17 2024 - 07:04:08 EST


As Arnd suggested we may drop linux/spi/pxa2xx_spi.h as most of
its content is being used solely internally to SPI subsystem
(PXA2xx drivers). Hence this refactoring series with the additional
win of getting rid of legacy documentation.

Note, that we have the only user of a single plain integer field
in the entire kernel for that. Switching to software nodes does not
diminish any of type checking as we only pass an integer.

On top of that it includes the previously sent "spi: pxa2xx: Cleanup
(part 2)" series that makes effort to clean up even more things.

Changelog v3:
- added new patches that were previously sent separately
(20240403171550.1074644-1-andriy.shevchenko@xxxxxxxxxxxxxxx)
- extended cover letter a bit to explain that the replacement is
not worse than the current approach
- v2: 20240327193138.2385910-1-andriy.shevchenko@xxxxxxxxxxxxxxx

Changelog v2:
- dropped applied patches
- added patch to amend dependencies (Mark)
- amended the second patch accordingly (Mark)
- elaborated purpose of the patch 6 in the commit message (Mark)
- v1: 20240326181027.1418989-1-andriy.shevchenko@xxxxxxxxxxxxxxx

Cc: Arnd Bergmann <arnd@xxxxxxxx>

Andy Shevchenko (9):
spi: pxa2xx: Allow number of chip select pins to be read from property
spi: pxa2xx: Provide num-cs for Sharp PDAs via device properties
spi: pxa2xx: Move contents of linux/spi/pxa2xx_spi.h to a local one
spi: pxa2xx: Remove outdated documentation
spi: pxa2xx: Don't use "proxy" headers
spi: pxa2xx: Drop struct pxa2xx_spi_chip
spi: pxa2xx: Remove DMA parameters from struct chip_data
spi: pxa2xx: Remove timeout field from struct chip_data
spi: pxa2xx: Don't provide struct chip_data for others

Documentation/spi/pxa2xx.rst | 208 ---------------------------------
arch/arm/mach-pxa/spitz.c | 25 ++--
drivers/spi/Kconfig | 3 +-
drivers/spi/spi-pxa2xx-dma.c | 38 ++----
drivers/spi/spi-pxa2xx-pci.c | 10 +-
drivers/spi/spi-pxa2xx.c | 94 +++++----------
drivers/spi/spi-pxa2xx.h | 42 +++----
include/linux/spi/pxa2xx_spi.h | 48 --------
8 files changed, 87 insertions(+), 381 deletions(-)
delete mode 100644 Documentation/spi/pxa2xx.rst
delete mode 100644 include/linux/spi/pxa2xx_spi.h

--
2.43.0.rc1.1336.g36b5255a03ac