From: Philipp Tomsich Date: Fri, 14 Jul 2017 16:09:51 +0000 (+0200) Subject: rockchip: efuse: dm: change to use dev_read_addr X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=928979cb2b4cbf4cf79febca311bcb0b8cdd0535;p=u-boot.git rockchip: efuse: dm: change to use dev_read_addr This changes the rockchip-efuse driver to use dev_read_addr instead of devfdt_get_addr. Signed-off-by: Philipp Tomsich Acked-by: Philipp Tomsich --- diff --git a/drivers/misc/rockchip-efuse.c b/drivers/misc/rockchip-efuse.c index 423d24c26e..2e3bc9137a 100644 --- a/drivers/misc/rockchip-efuse.c +++ b/drivers/misc/rockchip-efuse.c @@ -142,7 +142,7 @@ static int rockchip_efuse_ofdata_to_platdata(struct udevice *dev) { struct rockchip_efuse_platdata *plat = dev_get_platdata(dev); - plat->base = (void *)devfdt_get_addr(dev); + plat->base = (void *)dev_read_addr(dev); return 0; }