From: Robert Marko Date: Wed, 28 Oct 2020 12:56:23 +0000 (+0100) Subject: IPQ40xx: clk: use dev_read_addr() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=90534536a3a13672305ae4ff4ffcd4df9d7a4187;p=u-boot.git IPQ40xx: clk: use dev_read_addr() Lets convert the driver to use dev_read_addr() instead of the devfdt_get_addr(). While we are here, lets also alphabetise the includes. Signed-off-by: Robert Marko Cc: Luka Perkov --- diff --git a/arch/arm/mach-ipq40xx/clock-ipq4019.c b/arch/arm/mach-ipq40xx/clock-ipq4019.c index 31ae9719e8..1f385665cc 100644 --- a/arch/arm/mach-ipq40xx/clock-ipq4019.c +++ b/arch/arm/mach-ipq40xx/clock-ipq4019.c @@ -8,8 +8,8 @@ * */ -#include #include +#include #include #include @@ -35,7 +35,7 @@ static int msm_clk_probe(struct udevice *dev) { struct msm_clk_priv *priv = dev_get_priv(dev); - priv->base = devfdt_get_addr(dev); + priv->base = dev_read_addr(dev); if (priv->base == FDT_ADDR_T_NONE) return -EINVAL;