[RFC PATCH 0/3] spi/xilinx: Merge OF and non-OF drivers

From: Grant Likely
Date: Thu Oct 14 2010 - 12:20:02 EST


Since of_platform_bus_type has been merged with the platform_bus_type,
a single platform driver can now support both use cases. This patch
series merges the two halves of the xilinx_spi device driver.

Compile tested only. I haven't booted this yet.

---

Grant Likely (3):
spi/xilinx: Eliminate pdata references from common code.
spi/xilinx: fold platform_driver support into main body
spi/xilinx: merge OF support code into main driver


drivers/spi/Kconfig | 14 ----
drivers/spi/Makefile | 2 -
drivers/spi/xilinx_spi.c | 133 ++++++++++++++++++++++++++++++++++------
drivers/spi/xilinx_spi.h | 32 ----------
drivers/spi/xilinx_spi_of.c | 133 ----------------------------------------
drivers/spi/xilinx_spi_pltfm.c | 102 -------------------------------
6 files changed, 114 insertions(+), 302 deletions(-)
delete mode 100644 drivers/spi/xilinx_spi.h
delete mode 100644 drivers/spi/xilinx_spi_of.c
delete mode 100644 drivers/spi/xilinx_spi_pltfm.c

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/