summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/sf-uclass.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-04-05 12:28:33 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-05 12:28:33 (GMT)
commit433647a7ef9241b963b4636e7f8c3a2159d156f0 (patch)
tree15008cb530f46b5f9711efa2d9fc550b11ce2905 /drivers/mtd/spi/sf-uclass.c
parent7da8680b260b4598d841d9a8432d95d56cb86d9f (diff)
parent239ae4a9129b8b9f24a216e127042b255b07ae59 (diff)
downloadu-boot-433647a7ef9241b963b4636e7f8c3a2159d156f0.tar.xz
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'drivers/mtd/spi/sf-uclass.c')
-rw-r--r--drivers/mtd/spi/sf-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/sf-uclass.c b/drivers/mtd/spi/sf-uclass.c
index 19de964..8387648 100644
--- a/drivers/mtd/spi/sf-uclass.c
+++ b/drivers/mtd/spi/sf-uclass.c
@@ -46,7 +46,7 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
void spi_flash_free(struct spi_flash *flash)
{
- device_remove(flash->spi->dev);
+ device_remove(flash->spi->dev, DM_REMOVE_NORMAL);
}
int spi_flash_probe_bus_cs(unsigned int busnum, unsigned int cs,