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:
@@ -115,7 +115,7 @@ int cpu_get_vendor(const struct udevice *dev, char *buf, int size)
|
||||
U_BOOT_DRIVER(cpu_bus) = {
|
||||
.name = "cpu_bus",
|
||||
.id = UCLASS_SIMPLE_BUS,
|
||||
.per_child_platdata_auto = sizeof(struct cpu_platdata),
|
||||
.per_child_plat_auto = sizeof(struct cpu_platdata),
|
||||
};
|
||||
|
||||
static int uclass_cpu_init(struct uclass *uc)
|
||||
|
||||
Reference in New Issue
Block a user