
9 Oct
2017
9 Oct
'17
11:32 a.m.
On Fri, Sep 29, 2017 at 6:21 PM, 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
Reviewed-by: Jagan Teki jagan@openedev.com
thanks!
--
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.