]> git.sur5r.net Git - u-boot/blobdiff - include/spi.h
dm: Rename dev_get_parentdata() to dev_get_parent_priv()
[u-boot] / include / spi.h
index 51fdfd6d7360d9c601ffce37fb3c83bc86c3a127..b4d27232ecb10dd3c240805dab08e0196b0d2835 100644 (file)
@@ -88,7 +88,7 @@ struct dm_spi_slave_platdata {
  * struct spi_slave - Representation of a SPI slave
  *
  * For driver model this is the per-child data used by the SPI bus. It can
- * be accessed using dev_get_parentdata() on the slave device. The SPI uclass
+ * be accessed using dev_get_parent_priv() on the slave device. The SPI uclass
  * sets uip per_child_auto_alloc_size to sizeof(struct spi_slave), and the
  * driver should not override it. Two platform data fields (max_hz and mode)
  * are copied into this structure to provide an initial value. This allows