diff mbox series

[U-Boot,v4,3/4] mtd: sf_probe: remove spi-flash compatible

Message ID 1549793784-37327-4-git-send-email-narmstrong@baylibre.com
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series spi-flash: switch to "jedec, spi-nor" binding | expand

Commit Message

Neil Armstrong Feb. 10, 2019, 10:16 a.m. UTC
Now the "spi-flash" compatible has been removed in the DTS files,
remove this compatible from sf_probe to finally use the Linux "jedec,spi-nor"
compatible.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
---
 drivers/mtd/spi/sf_probe.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c
index 7f1378f..73297e1 100644
--- a/drivers/mtd/spi/sf_probe.c
+++ b/drivers/mtd/spi/sf_probe.c
@@ -166,7 +166,6 @@  static const struct dm_spi_flash_ops spi_flash_std_ops = {
 };
 
 static const struct udevice_id spi_flash_std_ids[] = {
-	{ .compatible = "spi-flash" },
 	{ .compatible = "jedec,spi-nor" },
 	{ }
 };