
9 Oct
2017
9 Oct
'17
6:46 a.m.
On 29 September 2017 at 06:51, Mario Six mario.six@gdsys.cc wrote:
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.
Signed-off-by: Mario Six mario.six@gdsys.cc
drivers/spi/spi.c | 20 -------------------- include/spi.h | 14 -------------- scripts/config_whitelist.txt | 1 - 3 files changed, 35 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org