aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorSimon Glass2022-09-06 20:27:17 -0600
committerTom Rini2022-09-29 16:11:31 -0400
commit8909066199281b86bf4ee7673ec6d7983dd12a26 (patch)
tree8e2b25f62f29ad0e2a9252b41ce1e916b4ecac8d /arch/arm/mach-tegra
parent52ad21aa2cc55f53da19436f457a8590abf0d125 (diff)
dm: core: Drop ofnode_is_available()
This function is also available as ofnode_is_enabled(), so use that instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/xusb-padctl-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/xusb-padctl-common.c b/arch/arm/mach-tegra/xusb-padctl-common.c
index 8bdd44ad7ac..388ec499688 100644
--- a/arch/arm/mach-tegra/xusb-padctl-common.c
+++ b/arch/arm/mach-tegra/xusb-padctl-common.c
@@ -282,7 +282,7 @@ int tegra_xusb_process_nodes(ofnode nodes[], unsigned int count,
debug("%s: count=%d\n", __func__, count);
for (i = 0; i < count; i++) {
debug("%s: i=%d, node=%p\n", __func__, i, nodes[i].np);
- if (!ofnode_is_available(nodes[i]))
+ if (!ofnode_is_enabled(nodes[i]))
continue;
padctl.socdata = socdata;