mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
sf: Remove spi_flash_remove
Use direct call to device_remove instead of exctra spi_flash_remove defination. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jagan Teki <jteki@openedev.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user