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:
@@ -71,7 +71,7 @@ int do_demo_list(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
for (i = 0, ret = uclass_first_device(UCLASS_DEMO, &dev);
|
||||
dev;
|
||||
ret = uclass_next_device(&dev)) {
|
||||
printf("entry %d - instance %08x, ops %08x, platdata %08x\n",
|
||||
printf("entry %d - instance %08x, ops %08x, plat %08x\n",
|
||||
i++, (uint)map_to_sysmem(dev),
|
||||
(uint)map_to_sysmem(dev->driver->ops),
|
||||
(uint)map_to_sysmem(dev_get_platdata(dev)));
|
||||
|
||||
Reference in New Issue
Block a user