spi: Remove obsolete spi_base_setup_slave_fdt
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Jan 2018 10:08:36 +0000 (11:08 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 24 Jan 2018 06:34:07 +0000 (12:04 +0530)
commitc5b88f29ba46997e1cae39153980cae475b87b82
tree2301885299c70f1035259bee5402563794c09bbf
parent547bcc3d18ddcc107b8aa7ca393830590c27978f
spi: Remove obsolete spi_base_setup_slave_fdt

0efc024 ("spi_flash: Add spi_flash_probe_fdt() to locate SPI by FDT
node") added a helper function spi_base_setup_slave_fdt to to set up a
SPI slave from a given FDT blob. The only user was the exynos SPI
driver.

But commit 73186c9 ("dm: exynos: Convert SPI to driver model") removed
the use of this function, hence rendering it obsolete.

Remove this function, as well as the CONFIG_OF_SPI option, which guarded
only this function.

Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
drivers/spi/spi.c
include/spi.h
scripts/config_whitelist.txt