aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/sh_qspi.c
diff options
context:
space:
mode:
authorJagan Teki2018-11-20 15:06:35 +0530
committerJagan Teki2018-11-27 21:06:53 +0530
commite2cae514725568bb4d3f8588c816f6ca521fa68f (patch)
treea10388f8e936631547326e138490c2590b7a76ed /drivers/spi/sh_qspi.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/sh_qspi.c')
-rw-r--r--drivers/spi/sh_qspi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/spi/sh_qspi.c b/drivers/spi/sh_qspi.c
index 64dfd748d67..5ae203d8d4f 100644
--- a/drivers/spi/sh_qspi.c
+++ b/drivers/spi/sh_qspi.c
@@ -247,11 +247,6 @@ void spi_cs_deactivate(struct spi_slave *slave)
sh_qspi_cs_deactivate(ss);
}
-void spi_init(void)
-{
- /* nothing to do */
-}
-
struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
unsigned int max_hz, unsigned int mode)
{