Various cleanups and refactorings of the SPI header and core parts united in a single series.
Patches 1 & 2, 5 & 6 & 8 are dependent inside each group.
No functional change intended.
Andy Shevchenko (8): spi: Remove unneeded OF node NULL checks spi: Drop duplicate IDR allocation code in spi_register_controller() spi: Use sysfs_emit() to instead of s*printf() spi: Get rid of old SPI_MASTER_NO_.X and SPI_MASTER_MUST_.X spi: Sort headers alphabetically spi: Clean up headers spi: Fix spelling typos and acronyms capitalization spi: Use struct_size() helper
drivers/spi/spi-at91-usart.c | 2 +- drivers/spi/spi-atmel.c | 2 +- drivers/spi/spi-bitbang-txrx.h | 16 +-- drivers/spi/spi-bitbang.c | 2 +- drivers/spi/spi-davinci.c | 2 +- drivers/spi/spi-fsl-lpspi.c | 2 +- drivers/spi/spi-gpio.c | 8 +- drivers/spi/spi-lp8841-rtc.c | 8 +- drivers/spi/spi-meson-spicc.c | 2 +- drivers/spi/spi-mt65xx.c | 2 +- drivers/spi/spi-pci1xxxx.c | 2 +- drivers/spi/spi-pic32.c | 2 +- drivers/spi/spi-rb4xx.c | 2 +- drivers/spi/spi-slave-mt27xx.c | 2 +- drivers/spi/spi-stm32.c | 2 +- drivers/spi/spi-xtensa-xtfpga.c | 2 +- drivers/spi/spi.c | 102 ++++++++--------- include/linux/spi/spi.h | 188 ++++++++++++++++++-------------- 18 files changed, 183 insertions(+), 165 deletions(-)