dm: treewide: Rename dev_get_platdata() to dev_get_plat()

Rename this to be consistent with the change from 'platdata'.

Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/power/pmic/i2c_pmic_emul.c b/drivers/power/pmic/i2c_pmic_emul.c
index 168b8a5..a85de82 100644
--- a/drivers/power/pmic/i2c_pmic_emul.c
+++ b/drivers/power/pmic/i2c_pmic_emul.c
@@ -30,7 +30,7 @@
 static int sandbox_i2c_pmic_read_data(struct udevice *emul, uchar chip,
 				      uchar *buffer, int len)
 {
-	struct sandbox_i2c_pmic_plat_data *plat = dev_get_platdata(emul);
+	struct sandbox_i2c_pmic_plat_data *plat = dev_get_plat(emul);
 
 	if (plat->rw_idx + len > plat->buf_size) {
 		pr_err("Request exceeds PMIC register range! Max register: %#x",
@@ -50,7 +50,7 @@
 				       uchar *buffer, int len,
 				       bool next_is_read)
 {
-	struct sandbox_i2c_pmic_plat_data *plat = dev_get_platdata(emul);
+	struct sandbox_i2c_pmic_plat_data *plat = dev_get_plat(emul);
 
 	/* Probe only */
 	if (!len)
@@ -105,7 +105,7 @@
 
 static int sandbox_i2c_pmic_ofdata_to_platdata(struct udevice *emul)
 {
-	struct sandbox_i2c_pmic_plat_data *plat = dev_get_platdata(emul);
+	struct sandbox_i2c_pmic_plat_data *plat = dev_get_plat(emul);
 	struct udevice *pmic_dev = i2c_emul_get_device(emul);
 
 	debug("%s:%d Setting PMIC default registers\n", __func__, __LINE__);
@@ -116,7 +116,7 @@
 
 static int sandbox_i2c_pmic_probe(struct udevice *emul)
 {
-	struct sandbox_i2c_pmic_plat_data *plat = dev_get_platdata(emul);
+	struct sandbox_i2c_pmic_plat_data *plat = dev_get_plat(emul);
 	struct udevice *pmic_dev = i2c_emul_get_device(emul);
 	struct uc_pmic_priv *upriv = dev_get_uclass_priv(pmic_dev);
 	const u8 *reg_defaults;