mtd: sf_probe: remove spi-flash compatible
authorNeil Armstrong <narmstrong@baylibre.com>
Sun, 10 Feb 2019 10:16:22 +0000 (10:16 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 12 Apr 2019 05:24:27 +0000 (10:54 +0530)
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>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sf_probe.c

index 7f1378f4946d256e92e4eea8f9bbf9a30818febc..73297e1a0a512a0a82ce7ac38b9665e7bceddcca 100644 (file)
@@ -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" },
        { }
 };