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:
@@ -26,7 +26,7 @@ static int print_cpu_list(bool detail)
|
||||
for (uclass_first_device(UCLASS_CPU, &dev);
|
||||
dev;
|
||||
uclass_next_device(&dev)) {
|
||||
struct cpu_platdata *plat = dev_get_parent_platdata(dev);
|
||||
struct cpu_platdata *plat = dev_get_parent_plat(dev);
|
||||
struct cpu_info info;
|
||||
bool first = true;
|
||||
int ret, i;
|
||||
|
||||
Reference in New Issue
Block a user