From 11c579bc9cd3ecae1d913565f7a69e7b99de302d Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Mon, 14 Dec 2015 09:02:06 +0530 Subject: sf: Remove spi_flash_remove Use direct call to device_remove instead of exctra spi_flash_remove defination. Reviewed-by: Simon Glass Signed-off-by: Jagan Teki --- include/spi_flash.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/spi_flash.h') diff --git a/include/spi_flash.h b/include/spi_flash.h index f25b3e7..0d26b8a 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -170,8 +170,6 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, /* Compatibility function - this is the old U-Boot API */ void spi_flash_free(struct spi_flash *flash); -int spi_flash_remove(struct udevice *flash); - static inline int spi_flash_read(struct spi_flash *flash, u32 offset, size_t len, void *buf) { -- cgit v1.1