From caa4daa2ae3dc0a3e516addea5772c9af76abcb0 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 3 Dec 2020 16:55:18 -0700 Subject: 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 --- cmd/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/pci.c') diff --git a/cmd/pci.c b/cmd/pci.c index f91a4eb8ed0..628579a0d7f 100644 --- a/cmd/pci.c +++ b/cmd/pci.c @@ -341,7 +341,7 @@ static void pciinfo(struct udevice *bus, bool short_listing) device_find_next_child(&dev)) { struct pci_child_platdata *pplat; - pplat = dev_get_parent_platdata(dev); + pplat = dev_get_parent_plat(dev); if (short_listing) { printf("%02x.%02x.%02x ", bus->seq, PCI_DEV(pplat->devfn), PCI_FUNC(pplat->devfn)); -- cgit v1.2.3