summaryrefslogtreecommitdiffstats
path: root/drivers/spi/mxc_spi.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/mxc_spi.c
parent3ae6030cf9587d310ee9cb8c3b17e9a8693f7636 (diff)
downloadu-boot-e2cae514725568bb4d3f8588c816f6ca521fa68f.tar.gz
u-boot-e2cae514725568bb4d3f8588c816f6ca521fa68f.tar.xz
u-boot-e2cae514725568bb4d3f8588c816f6ca521fa68f.zip
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/mxc_spi.c')
-rw-r--r--drivers/spi/mxc_spi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c
index 0dccc38b82..b2636909ce 100644
--- a/drivers/spi/mxc_spi.c
+++ b/drivers/spi/mxc_spi.c
@@ -400,10 +400,6 @@ int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
return mxc_spi_xfer_internal(mxcs, bitlen, dout, din, flags);
}
-void spi_init(void)
-{
-}
-
/*
* Some SPI devices require active chip-select over multiple
* transactions, we achieve this using a GPIO. Still, the SPI