summaryrefslogtreecommitdiffstats
path: root/commands/of_node.c
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-07-02 20:14:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-05 08:26:57 +0200
commitcf31688b6a6981bf6e66ec8587d0ccf3dd72a594 (patch)
treef3ac10f4eb4d3a62a80ca3dd4d8c9cf87abc6f8c /commands/of_node.c
parentb73f70bb1ab2d80f741f82eccd2f44cd88eaa215 (diff)
downloadbarebox-cf31688b6a6981bf6e66ec8587d0ccf3dd72a594.tar.gz
barebox-cf31688b6a6981bf6e66ec8587d0ccf3dd72a594.tar.xz
OF: base: rename of_free to of_delete_node
of_free is misleading about the actual purpose of the function. There is already a of_create_node counterpart, so rename of_free to of_create_node and update all users accordingly. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/of_node.c')
-rw-r--r--commands/of_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/of_node.c b/commands/of_node.c
index e60ef66d38..b1894b184d 100644
--- a/commands/of_node.c
+++ b/commands/of_node.c
@@ -87,7 +87,7 @@ static int do_of_node(int argc, char *argv[])
return -ENOENT;
}
- of_free(node);
+ of_delete_node(node);
}
return 0;