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. 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) Cc: Arnd Bergmann <arnd@xxxxxxxx> Andy Shevchenko (9): spi: pxa2xx: Narrow the Kconfig option visibility spi: pxa2xx: Drop ACPI_PTR() and of_match_ptr() spi: pxa2xx: Extract pxa2xx_spi_init_ssp() helper spi: pxa2xx: Skip SSP initialization if it's done elsewhere 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 Documentation/spi/pxa2xx.rst | 208 --------------------------------- arch/arm/mach-pxa/spitz.c | 25 ++-- drivers/spi/Kconfig | 5 +- drivers/spi/spi-pxa2xx-dma.c | 11 +- drivers/spi/spi-pxa2xx-pci.c | 10 +- drivers/spi/spi-pxa2xx.c | 99 ++++++++++------ drivers/spi/spi-pxa2xx.h | 39 ++++++- include/linux/spi/pxa2xx_spi.h | 48 -------- 8 files changed, 133 insertions(+), 312 deletions(-) delete mode 100644 Documentation/spi/pxa2xx.rst delete mode 100644 include/linux/spi/pxa2xx_spi.h -- 2.43.0.rc1.1.gbec44491f096