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/include/dm/device.h b/include/dm/device.h
index 5d31a2c..491542c 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -285,14 +285,14 @@
 #define U_BOOT_DRIVER_ALIAS(__name, __alias)
 
 /**
- * dev_get_platdata() - Get the platform data for a device
+ * dev_get_plat() - Get the platform data for a device
  *
  * This checks that dev is not NULL, but no other checks for now
  *
  * @dev		Device to check
  * @return platform data, or NULL if none
  */
-void *dev_get_platdata(const struct udevice *dev);
+void *dev_get_plat(const struct udevice *dev);
 
 /**
  * dev_get_parent_plat() - Get the parent platform data for a device
diff --git a/include/dwmmc.h b/include/dwmmc.h
index 4515a44..51ab74e 100644
--- a/include/dwmmc.h
+++ b/include/dwmmc.h
@@ -259,7 +259,7 @@
  *	.plat_auto	= sizeof(struct rockchip_mmc_plat),
  *
  * To access platform data:
- *	struct rockchip_mmc_plat *plat = dev_get_platdata(dev);
+ *	struct rockchip_mmc_plat *plat = dev_get_plat(dev);
  *
  * See rockchip_dw_mmc.c for an example.
  *
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 79dce8f..75b1635 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -144,7 +144,7 @@
 	unsigned long fixed_rate;
 };
 
-#define to_clk_fixed_rate(dev)	((struct clk_fixed_rate *)dev_get_platdata(dev))
+#define to_clk_fixed_rate(dev)	((struct clk_fixed_rate *)dev_get_plat(dev))
 
 struct clk_composite {
 	struct clk	clk;
diff --git a/include/sdhci.h b/include/sdhci.h
index 69c2087..3e5a649 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -443,7 +443,7 @@
  *	.plat_auto	= sizeof(struct msm_sdhc_plat),
  *
  * To access platform data:
- *	struct msm_sdhc_plat *plat = dev_get_platdata(dev);
+ *	struct msm_sdhc_plat *plat = dev_get_plat(dev);
  *
  * See msm_sdhci.c for an example.
  *
diff --git a/include/usb.h b/include/usb.h
index a3323f5..9e1ec53 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -599,7 +599,7 @@
 /**
  * struct usb_platdata - Platform data about a USB controller
  *
- * Given a USB controller (UCLASS_USB) dev this is dev_get_platdata(dev)
+ * Given a USB controller (UCLASS_USB) dev this is dev_get_plat(dev)
  */
 struct usb_platdata {
 	enum usb_init_type init_type;