ARM: OMAP2+: gpmc: Remove unneeded of_node_put()
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 25 Jan 2013 12:19:47 +0000 (09:19 -0300)
committerTony Lindgren <tony@atomide.com>
Fri, 1 Feb 2013 21:55:45 +0000 (13:55 -0800)
commita16723709cff6d69567024c28d32d1344f08cecf
tree0a6f7d10b58a34fc6f1ad253057299f8bb3e8486
parentbc6b1e7b86f5d8e4a6fc1c0189e64bba4077efe0
ARM: OMAP2+: gpmc: Remove unneeded of_node_put()

for_each_node_by_name() automatically calls of_node_put() on each
node passed; so don't do it explicitly unless there's an error.

Reported-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc.c