sf: Remove non-meaningful comments
[oweals/u-boot.git] / drivers / mtd / spi / sf_dataflash.c
index 3111f4fd12e062f63c7d48eada99852007ff1891..b2a56da7cad688423d5639980b99cf0812badc44 100644 (file)
@@ -577,7 +577,7 @@ static struct flash_info *jedec_probe(struct spi_slave *spi, u8 *id)
  */
 static int spi_dataflash_probe(struct udevice *dev)
 {
-       struct spi_slave *spi = dev_get_parentdata(dev);
+       struct spi_slave *spi = dev_get_parent_priv(dev);
        struct spi_flash *spi_flash;
        struct flash_info *info;
        u8 idcode[5];