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>
diff --git a/drivers/remoteproc/rproc-uclass.c b/drivers/remoteproc/rproc-uclass.c
index 41ac001..cc640b3 100644
--- a/drivers/remoteproc/rproc-uclass.c
+++ b/drivers/remoteproc/rproc-uclass.c
@@ -42,7 +42,7 @@
 	     ret = uclass_find_next_device(&dev)) {
 		if (ret || dev == skip_dev)
 			continue;
-		uc_pdata = dev_get_uclass_platdata(dev);
+		uc_pdata = dev_get_uclass_plat(dev);
 		ret = fn(dev, uc_pdata, data);
 		if (ret)
 			return ret;
@@ -111,11 +111,11 @@
 	struct dm_rproc_uclass_pdata *uc_pdata;
 	const struct dm_rproc_ops *ops;
 
-	uc_pdata = dev_get_uclass_platdata(dev);
+	uc_pdata = dev_get_uclass_plat(dev);
 
 	/* See if we need to populate via fdt */
 
-	if (!dev->platdata) {
+	if (!dev->plat) {
 #if CONFIG_IS_ENABLED(OF_CONTROL)
 		int node = dev_of_offset(dev);
 		const void *blob = gd->fdt_blob;
@@ -140,7 +140,7 @@
 #endif
 
 	} else {
-		struct dm_rproc_uclass_pdata *pdata = dev->platdata;
+		struct dm_rproc_uclass_pdata *pdata = dev->plat;
 
 		debug("'%s': using legacy data\n", dev->name);
 		if (pdata->name)
@@ -210,7 +210,7 @@
 	.flags = DM_UC_FLAG_SEQ_ALIAS,
 	.pre_probe = rproc_pre_probe,
 	.post_probe = rproc_post_probe,
-	.per_device_platdata_auto	=
+	.per_device_plat_auto	=
 		sizeof(struct dm_rproc_uclass_pdata),
 };
 
@@ -306,7 +306,7 @@
 		return ret;
 	}
 
-	uc_pdata = dev_get_uclass_platdata(dev);
+	uc_pdata = dev_get_uclass_plat(dev);
 
 	ops = rproc_get_ops(dev);
 	if (!ops) {
@@ -366,7 +366,7 @@
 		return ret;
 	}
 
-	uc_pdata = dev_get_uclass_platdata(dev);
+	uc_pdata = dev_get_uclass_plat(dev);
 
 	ops = rproc_get_ops(dev);
 	if (!ops) {