diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-06-14 17:19:28 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-20 21:22:19 +0200 |
commit | 2e2265bfd44a738f69fd366c9306d6e7a5589575 (patch) | |
tree | 917d4c987742d7180e135afee7a16bbc2b50b20b /drivers/of/partition.c | |
parent | 097133af15c91f3c214236a15d43ed5f8248edb9 (diff) | |
download | barebox-2e2265bfd44a738f69fd366c9306d6e7a5589575.tar.gz barebox-2e2265bfd44a738f69fd366c9306d6e7a5589575.tar.xz |
OF: base: convert and remove device_node_for_nach_child
Remove device_node_for_nach_child and convert users to corresponding
imported OF API functions.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/of/partition.c')
-rw-r--r-- | drivers/of/partition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/partition.c b/drivers/of/partition.c index 2d70cf5353..e4b7d1e66b 100644 --- a/drivers/of/partition.c +++ b/drivers/of/partition.c @@ -29,7 +29,7 @@ int of_parse_partitions(struct cdev *cdev, struct device_node *node) const char *partname; char *filename; - device_node_for_nach_child(node, n) { + for_each_child_of_node(node, n) { const __be32 *reg; unsigned long offset, size; const char *name; |