summaryrefslogtreecommitdiffstats
path: root/drivers/of/barebox.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-05-05 13:32:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-05 13:32:37 +0200
commit9bb76883c19f360693d54b12b67a9b0d17dc83a8 (patch)
tree3dd63dbd98e6b77545c661e416bc7feebb3ae515 /drivers/of/barebox.c
parentbf1d71d5e192e242c7ce7cdb3d4c70c6a7ae4858 (diff)
parent66d0f93d5ca372b985dc61d01177fdc5f88392b4 (diff)
downloadbarebox-9bb76883c19f360693d54b12b67a9b0d17dc83a8.tar.gz
barebox-9bb76883c19f360693d54b12b67a9b0d17dc83a8.tar.xz
Merge branch 'for-next/of'
Diffstat (limited to 'drivers/of/barebox.c')
-rw-r--r--drivers/of/barebox.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/of/barebox.c b/drivers/of/barebox.c
index 8c05924be3..224674240e 100644
--- a/drivers/of/barebox.c
+++ b/drivers/of/barebox.c
@@ -35,20 +35,6 @@ struct of_partition {
static LIST_HEAD(of_partition_list);
-struct device_d *of_find_device_by_node_path(const char *path)
-{
- struct device_d *dev;
-
- for_each_device(dev) {
- if (!dev->device_node)
- continue;
- if (!strcmp(path, dev->device_node->full_name))
- return dev;
- }
-
- return NULL;
-}
-
static int environment_probe(struct device_d *dev)
{
char *path;