aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/serial_intel_mid.c
diff options
context:
space:
mode:
authorSimon Glass2020-12-03 16:55:20 -0700
committerSimon Glass2020-12-13 16:51:09 -0700
commitc69cda25c9b59e53a6bc8969ada58942549f5b5d (patch)
tree8c84d1773465eb8e06cbbaeb710daa6217f5618d /drivers/serial/serial_intel_mid.c
parent4f50086ad6d69c355a07389fb436c64c92ec614a (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/serial/serial_intel_mid.c')
-rw-r--r--drivers/serial/serial_intel_mid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_intel_mid.c b/drivers/serial/serial_intel_mid.c
index 26c6867180f..2ee7e2d5de5 100644
--- a/drivers/serial/serial_intel_mid.c
+++ b/drivers/serial/serial_intel_mid.c
@@ -33,7 +33,7 @@ static void mid_writel(struct ns16550_platdata *plat, int offset, int value)
static int mid_serial_probe(struct udevice *dev)
{
- struct ns16550_platdata *plat = dev_get_platdata(dev);
+ struct ns16550_platdata *plat = dev_get_plat(dev);
/*
* Initialize fractional divider correctly for Intel Edison