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/w1/mxc_w1.c b/drivers/w1/mxc_w1.c
index 99fb960..3637feb 100644
--- a/drivers/w1/mxc_w1.c
+++ b/drivers/w1/mxc_w1.c
@@ -166,7 +166,7 @@
 	return retval;
 }
 
-static int mxc_w1_ofdata_to_platdata(struct udevice *dev)
+static int mxc_w1_of_to_plat(struct udevice *dev)
 {
 	struct mxc_w1_pdata *pdata = dev_get_plat(dev);
 	fdt_addr_t addr;
@@ -228,7 +228,7 @@
 	.id				= UCLASS_W1,
 	.name				= "mxc_w1_drv",
 	.of_match			= mxc_w1_id,
-	.ofdata_to_platdata		= mxc_w1_ofdata_to_platdata,
+	.of_to_plat		= mxc_w1_of_to_plat,
 	.ops				= &mxc_w1_ops,
 	.plat_auto	= sizeof(struct mxc_w1_pdata),
 	.probe				= mxc_w1_probe,