dm: treewide: Rename 'platdata' variables to just 'plat'
[platform/kernel/u-boot.git] / drivers / cpu / riscv_cpu.c
index 93ce708..3899d4d 100644 (file)
@@ -91,7 +91,7 @@ static int riscv_cpu_get_count(const struct udevice *dev)
 
 static int riscv_cpu_bind(struct udevice *dev)
 {
-       struct cpu_platdata *plat = dev_get_parent_platdata(dev);
+       struct cpu_platdata *plat = dev_get_parent_plat(dev);
        struct driver *drv;
        int ret;