mirror of
https://xff.cz/git/u-boot/
synced 2025-11-02 03:17:29 +01:00
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>
This commit is contained in:
@@ -90,7 +90,7 @@ static int atftmr_timer_probe(struct udevice *dev)
|
||||
|
||||
static int atftme_timer_ofdata_to_platdata(struct udevice *dev)
|
||||
{
|
||||
struct atftmr_timer_platdata *plat = dev_get_platdata(dev);
|
||||
struct atftmr_timer_platdata *plat = dev_get_plat(dev);
|
||||
plat->regs = map_physmem(dev_read_addr(dev),
|
||||
sizeof(struct atftmr_timer_regs),
|
||||
MAP_NOCACHE);
|
||||
|
||||
Reference in New Issue
Block a user