dm: treewide: Rename ofdata_to_platdata() to of_to_plat()

This name is far too long. Rename it to remove the 'data' bits. This makes
it consistent with the platdata->plat rename.

Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/watchdog/ast_wdt.c b/drivers/watchdog/ast_wdt.c
index f6173fd..0b8668d 100644
--- a/drivers/watchdog/ast_wdt.c
+++ b/drivers/watchdog/ast_wdt.c
@@ -86,7 +86,7 @@
 	return ast_wdt_stop(dev);
 }
 
-static int ast_wdt_ofdata_to_platdata(struct udevice *dev)
+static int ast_wdt_of_to_plat(struct udevice *dev)
 {
 	struct ast_wdt_priv *priv = dev_get_priv(dev);
 
@@ -125,6 +125,6 @@
 	.of_match = ast_wdt_ids,
 	.probe = ast_wdt_probe,
 	.priv_auto	= sizeof(struct ast_wdt_priv),
-	.ofdata_to_platdata = ast_wdt_ofdata_to_platdata,
+	.of_to_plat = ast_wdt_of_to_plat,
 	.ops = &ast_wdt_ops,
 };
diff --git a/drivers/watchdog/cdns_wdt.c b/drivers/watchdog/cdns_wdt.c
index d4f8240..06de5bd 100644
--- a/drivers/watchdog/cdns_wdt.c
+++ b/drivers/watchdog/cdns_wdt.c
@@ -228,7 +228,7 @@
 	return 0;
 }
 
-static int cdns_wdt_ofdata_to_platdata(struct udevice *dev)
+static int cdns_wdt_of_to_plat(struct udevice *dev)
 {
 	struct cdns_wdt_priv *priv = dev_get_priv(dev);
 
@@ -261,6 +261,6 @@
 	.of_match = cdns_wdt_ids,
 	.probe = cdns_wdt_probe,
 	.priv_auto	= sizeof(struct cdns_wdt_priv),
-	.ofdata_to_platdata = cdns_wdt_ofdata_to_platdata,
+	.of_to_plat = cdns_wdt_of_to_plat,
 	.ops = &cdns_wdt_ops,
 };
diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c
index 5eff30e..35e25d4 100644
--- a/drivers/watchdog/orion_wdt.c
+++ b/drivers/watchdog/orion_wdt.c
@@ -133,7 +133,7 @@
 	return true;
 }
 
-static int orion_wdt_ofdata_to_platdata(struct udevice *dev)
+static int orion_wdt_of_to_plat(struct udevice *dev)
 {
 	struct orion_wdt_priv *priv = dev_get_priv(dev);
 
@@ -187,6 +187,6 @@
 	.of_match = orion_wdt_ids,
 	.probe = orion_wdt_probe,
 	.priv_auto	= sizeof(struct orion_wdt_priv),
-	.ofdata_to_platdata = orion_wdt_ofdata_to_platdata,
+	.of_to_plat = orion_wdt_of_to_plat,
 	.ops = &orion_wdt_ops,
 };
diff --git a/drivers/watchdog/sbsa_gwdt.c b/drivers/watchdog/sbsa_gwdt.c
index f7b3fbd..7538215 100644
--- a/drivers/watchdog/sbsa_gwdt.c
+++ b/drivers/watchdog/sbsa_gwdt.c
@@ -93,7 +93,7 @@
 	return 0;
 }
 
-static int sbsa_gwdt_ofdata_to_platdata(struct udevice *dev)
+static int sbsa_gwdt_of_to_plat(struct udevice *dev)
 {
 	struct sbsa_gwdt_priv *priv = dev_get_priv(dev);
 
@@ -126,6 +126,6 @@
 	.of_match = sbsa_gwdt_ids,
 	.probe = sbsa_gwdt_probe,
 	.priv_auto	= sizeof(struct sbsa_gwdt_priv),
-	.ofdata_to_platdata = sbsa_gwdt_ofdata_to_platdata,
+	.of_to_plat = sbsa_gwdt_of_to_plat,
 	.ops = &sbsa_gwdt_ops,
 };
diff --git a/drivers/watchdog/sp805_wdt.c b/drivers/watchdog/sp805_wdt.c
index 694a980..3249220 100644
--- a/drivers/watchdog/sp805_wdt.c
+++ b/drivers/watchdog/sp805_wdt.c
@@ -110,7 +110,7 @@
 	return 0;
 }
 
-static int sp805_wdt_ofdata_to_platdata(struct udevice *dev)
+static int sp805_wdt_of_to_plat(struct udevice *dev)
 {
 	struct sp805_wdt_priv *priv = dev_get_priv(dev);
 	struct clk clk;
@@ -143,6 +143,6 @@
 	.of_match = sp805_wdt_ids,
 	.probe = sp805_wdt_probe,
 	.priv_auto	= sizeof(struct sp805_wdt_priv),
-	.ofdata_to_platdata = sp805_wdt_ofdata_to_platdata,
+	.of_to_plat = sp805_wdt_of_to_plat,
 	.ops = &sp805_wdt_ops,
 };
diff --git a/drivers/watchdog/xilinx_tb_wdt.c b/drivers/watchdog/xilinx_tb_wdt.c
index 46d5d28..98fdb3f 100644
--- a/drivers/watchdog/xilinx_tb_wdt.c
+++ b/drivers/watchdog/xilinx_tb_wdt.c
@@ -90,7 +90,7 @@
 	return 0;
 }
 
-static int xlnx_wdt_ofdata_to_platdata(struct udevice *dev)
+static int xlnx_wdt_of_to_plat(struct udevice *dev)
 {
 	struct xlnx_wdt_platdata *plat = dev_get_plat(dev);
 
@@ -124,6 +124,6 @@
 	.of_match = xlnx_wdt_ids,
 	.probe = xlnx_wdt_probe,
 	.plat_auto	= sizeof(struct xlnx_wdt_platdata),
-	.ofdata_to_platdata = xlnx_wdt_ofdata_to_platdata,
+	.of_to_plat = xlnx_wdt_of_to_plat,
 	.ops = &xlnx_wdt_ops,
 };
diff --git a/drivers/watchdog/xilinx_wwdt.c b/drivers/watchdog/xilinx_wwdt.c
index 6ce51a3..3e5063c 100644
--- a/drivers/watchdog/xilinx_wwdt.c
+++ b/drivers/watchdog/xilinx_wwdt.c
@@ -145,7 +145,7 @@
 	return ret;
 }
 
-static int xlnx_wwdt_ofdata_to_platdata(struct udevice *dev)
+static int xlnx_wwdt_of_to_plat(struct udevice *dev)
 {
 	struct xlnx_wwdt_platdata *plat = dev_get_plat(dev);
 
@@ -174,6 +174,6 @@
 	.probe = xlnx_wwdt_probe,
 	.priv_auto	= sizeof(struct xlnx_wwdt_priv),
 	.plat_auto	= sizeof(struct xlnx_wwdt_platdata),
-	.ofdata_to_platdata = xlnx_wwdt_ofdata_to_platdata,
+	.of_to_plat = xlnx_wwdt_of_to_plat,
 	.ops = &xlnx_wwdt_ops,
 };