summaryrefslogtreecommitdiff
path: root/drivers/spi/lpc32xx_ssp.c
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-11-20 15:06:35 +0530
committerJagan Teki <jagan@amarulasolutions.com>2018-11-27 21:06:53 +0530
commite2cae514725568bb4d3f8588c816f6ca521fa68f (patch)
treea10388f8e936631547326e138490c2590b7a76ed /drivers/spi/lpc32xx_ssp.c
parent3ae6030cf9587d310ee9cb8c3b17e9a8693f7636 (diff)
spi: Remove unused spi_init
Remove spi_init definition which never used on respective code since from many years. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/spi/lpc32xx_ssp.c')
-rw-r--r--drivers/spi/lpc32xx_ssp.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/spi/lpc32xx_ssp.c b/drivers/spi/lpc32xx_ssp.c
index ce12eee657..4b09366317 100644
--- a/drivers/spi/lpc32xx_ssp.c
+++ b/drivers/spi/lpc32xx_ssp.c
@@ -47,15 +47,6 @@ static inline struct lpc32xx_spi_slave *to_lpc32xx_spi_slave(
return container_of(slave, struct lpc32xx_spi_slave, slave);
}
-/* spi_init is called during boot when CONFIG_CMD_SPI is defined */
-void spi_init(void)
-{
- /*
- * nothing to do: clocking was enabled in lpc32xx_ssp_enable()
- * and configuration will be done in spi_setup_slave()
- */
-}
-
/* the following is called in sequence by do_spi_xfer() */
struct spi_slave *spi_setup_slave(uint bus, uint cs, uint max_hz, uint mode)