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/timer/altera_timer.c | |
parent | 4f50086ad6d69c355a07389fb436c64c92ec614a (diff) | |
download | u-boot-c69cda25c9b59e53a6bc8969ada58942549f5b5d.zip u-boot-c69cda25c9b59e53a6bc8969ada58942549f5b5d.tar.gz u-boot-c69cda25c9b59e53a6bc8969ada58942549f5b5d.tar.bz2 |
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/timer/altera_timer.c')
-rw-r--r-- | drivers/timer/altera_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/altera_timer.c b/drivers/timer/altera_timer.c index 4579717..1daa0ea 100644 --- a/drivers/timer/altera_timer.c +++ b/drivers/timer/altera_timer.c @@ -65,7 +65,7 @@ static int altera_timer_probe(struct udevice *dev) static int altera_timer_ofdata_to_platdata(struct udevice *dev) { - struct altera_timer_platdata *plat = dev_get_platdata(dev); + struct altera_timer_platdata *plat = dev_get_plat(dev); plat->regs = map_physmem(dev_read_addr(dev), sizeof(struct altera_timer_regs), |