aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/exynos
diff options
context:
space:
mode:
authorMasahiro Yamada2020-07-17 14:36:48 +0900
committerSimon Glass2020-07-20 11:37:47 -0600
commit60e7fa8b3b8538aae1e644dac61d5e4076901edb (patch)
treef589e4e42bdf162da22a8fb15046a363951bd4c9 /drivers/clk/exynos
parent6f25e274da48e938bbd33395881d38f0a4be8682 (diff)
treewide: convert devfdt_get_addr() to dev_read_addr()
When you enable CONFIG_OF_LIVE, you will end up with a lot of conversions. To generate this commit, I used coccinelle excluding drivers/core/, include/dm/, and test/ The semantic patch that makes this change is as follows: <smpl> @@ expression dev; @@ -devfdt_get_addr(dev) +dev_read_addr(dev) </smpl> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/clk/exynos')
-rw-r--r--drivers/clk/exynos/clk-exynos7420.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/exynos/clk-exynos7420.c b/drivers/clk/exynos/clk-exynos7420.c
index aa86c7ca445..4a023ea736b 100644
--- a/drivers/clk/exynos/clk-exynos7420.c
+++ b/drivers/clk/exynos/clk-exynos7420.c
@@ -95,7 +95,7 @@ static int exynos7420_clk_topc_probe(struct udevice *dev)
fdt_addr_t base;
int ret;
- base = devfdt_get_addr(dev);
+ base = dev_read_addr(dev);
if (base == FDT_ADDR_T_NONE)
return -EINVAL;
@@ -149,7 +149,7 @@ static int exynos7420_clk_top0_probe(struct udevice *dev)
if (!priv)
return -EINVAL;
- base = devfdt_get_addr(dev);
+ base = dev_read_addr(dev);
if (base == FDT_ADDR_T_NONE)
return -EINVAL;