mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
6f3096585b
commit
11c579bc9c
2 changed files with 1 additions and 8 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue