diff options
| author | Simon Glass <sjg@chromium.org> | 2020-12-03 16:55:20 -0700 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2020-12-13 16:51:09 -0700 |
| commit | c69cda25c9b59e53a6bc8969ada58942549f5b5d (patch) | |
| tree | 8c84d1773465eb8e06cbbaeb710daa6217f5618d /drivers/usb/host/xhci-exynos5.c | |
| parent | 4f50086ad6d69c355a07389fb436c64c92ec614a (diff) | |
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>
Diffstat (limited to 'drivers/usb/host/xhci-exynos5.c')
| -rw-r--r-- | drivers/usb/host/xhci-exynos5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c index 39e651e2fd1..4d3dd360bf6 100644 --- a/drivers/usb/host/xhci-exynos5.c +++ b/drivers/usb/host/xhci-exynos5.c @@ -54,7 +54,7 @@ struct exynos_xhci { static int xhci_usb_ofdata_to_platdata(struct udevice *dev) { - struct exynos_xhci_platdata *plat = dev_get_platdata(dev); + struct exynos_xhci_platdata *plat = dev_get_plat(dev); const void *blob = gd->fdt_blob; unsigned int node; int depth; @@ -205,7 +205,7 @@ static void exynos_xhci_core_exit(struct exynos_xhci *exynos) static int xhci_usb_probe(struct udevice *dev) { - struct exynos_xhci_platdata *plat = dev_get_platdata(dev); + struct exynos_xhci_platdata *plat = dev_get_plat(dev); struct exynos_xhci *ctx = dev_get_priv(dev); struct xhci_hcor *hcor; int ret; |
