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:
@@ -64,7 +64,7 @@ static const struct cpu_ops cpu_sandbox_ops = {
|
||||
static int cpu_sandbox_bind(struct udevice *dev)
|
||||
{
|
||||
int ret;
|
||||
struct cpu_platdata *plat = dev_get_parent_platdata(dev);
|
||||
struct cpu_platdata *plat = dev_get_parent_plat(dev);
|
||||
|
||||
/* first examine the property in current cpu node */
|
||||
ret = dev_read_u32(dev, "timebase-frequency", &plat->timebase_freq);
|
||||
|
||||
Reference in New Issue
Block a user