summaryrefslogtreecommitdiffstats
path: root/drivers/memory/omap-gpmc.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-07-21 07:57:44 +0200
committerIngo Molnar <mingo@kernel.org>2015-07-21 07:57:44 +0200
commitf6a74a5e15df32f289837feeabf8c84829312b06 (patch)
treec8d16b12ef76c7a9e21693d1bad31f59f78436cd /drivers/memory/omap-gpmc.c
parent60cd37eb100c4880b28078a47f3062fac7572095 (diff)
parent9d634c410b07be7bf637ea03362d3ff132088fe3 (diff)
downloadlinux-f6a74a5e15df32f289837feeabf8c84829312b06.tar.bz2
Merge branch 'linus' into perf/core, to refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/memory/omap-gpmc.c')
-rw-r--r--drivers/memory/omap-gpmc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
index 8911e51d410a..3a27a84ad3ec 100644
--- a/drivers/memory/omap-gpmc.c
+++ b/drivers/memory/omap-gpmc.c
@@ -2074,14 +2074,8 @@ static int gpmc_probe_dt(struct platform_device *pdev)
ret = gpmc_probe_nand_child(pdev, child);
else if (of_node_cmp(child->name, "onenand") == 0)
ret = gpmc_probe_onenand_child(pdev, child);
- else if (of_node_cmp(child->name, "ethernet") == 0 ||
- of_node_cmp(child->name, "nor") == 0 ||
- of_node_cmp(child->name, "uart") == 0)
+ else
ret = gpmc_probe_generic_child(pdev, child);
-
- if (WARN(ret < 0, "%s: probing gpmc child %s failed\n",
- __func__, child->full_name))
- of_node_put(child);
}
return 0;