mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
dm: treewide: Rename 'platdata' variables to just 'plat'
We use 'priv' for private data but often use 'platdata' for platform data. We can't really use 'pdata' since that is ambiguous (it could mean private or platform data). Rename some of the latter variables to end with 'plat' for consistency. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -407,7 +407,7 @@ static int stm32_spi_xfer(struct udevice *slave, unsigned int bitlen,
|
||||
debug("%s: priv->tx_len=%d priv->rx_len=%d\n", __func__,
|
||||
priv->tx_len, priv->rx_len);
|
||||
|
||||
slave_plat = dev_get_parent_platdata(slave);
|
||||
slave_plat = dev_get_parent_plat(slave);
|
||||
if (flags & SPI_XFER_BEGIN)
|
||||
stm32_spi_set_cs(bus, slave_plat->cs, false);
|
||||
|
||||
|
Reference in New Issue
Block a user