summaryrefslogtreecommitdiff
path: root/drivers/spi/sh_qspi.c
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-11-20 12:36:35 +0300
committerJagan Teki <jagan@amarulasolutions.com>2018-11-27 18:36:53 +0300
commite2cae514725568bb4d3f8588c816f6ca521fa68f (patch)
treea10388f8e936631547326e138490c2590b7a76ed /drivers/spi/sh_qspi.c
parent3ae6030cf9587d310ee9cb8c3b17e9a8693f7636 (diff)
downloadu-boot-e2cae514725568bb4d3f8588c816f6ca521fa68f.tar.xz
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 64dfd748d6..5ae203d8d4 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)
{