]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi Drop spi_init()
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 25 May 2020 18:22:23 +0000 (23:52 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 1 Jun 2020 12:25:24 +0000 (17:55 +0530)
spi_init doesn't exist anywhere in the code.

Drop it.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/cf_spi.c
drivers/spi/kirkwood_spi.c

index dd9c77281f116cee3b1a1332362c38d9a386b88c..dec92df69bd8986ef2de186d78e65ccc480c9d80 100644 (file)
@@ -383,10 +383,6 @@ static int coldfire_spi_probe(struct udevice *bus)
        return 0;
 }
 
-void spi_init(void)
-{
-}
-
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
 static int coldfire_dspi_ofdata_to_platdata(struct udevice *bus)
 {
index 01fcf6bef5a472d3e62c9a43fafb9e4fe7a7855f..3986b06b25ce2c96a451c54705e9698c1a01c73f 100644 (file)
@@ -183,10 +183,6 @@ int spi_cs_is_valid(unsigned int bus, unsigned int cs)
 }
 #endif
 
-void spi_init(void)
-{
-}
-
 void spi_cs_activate(struct spi_slave *slave)
 {
        _spi_cs_activate(spireg);