linux-sg2042/drivers/memory/tegra
Christophe Jaillet b92f4380a1 memory: tegra: Add a missing 'of_node_put()' call
If 'of_find_device_by_node()' fails, an 'of_node_put()' call is missing in
the error handling path.
Fix it by reordering the code.

While at it, remove some empty lines in a more or less similar construction
a few lines below.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 07:57:13 +01:00
..
Kconfig memory: tegra: Add EMC (external memory controller) driver 2015-05-05 11:12:17 +02:00
Makefile memory: tegra: Add Tegra210 support 2015-08-13 16:07:52 +02:00
mc.c memory: tegra: mc: Add missing of_node_put() 2016-06-14 11:39:39 +02:00
mc.h memory: tegra: Add Tegra210 support 2015-08-13 16:07:52 +02:00
tegra30.c IOMMU Updates for Linux v4.3 2015-09-08 17:22:35 -07:00
tegra114.c IOMMU Updates for Linux v4.3 2015-09-08 17:22:35 -07:00
tegra124-emc.c memory: tegra: Add a missing 'of_node_put()' call 2017-01-25 07:57:13 +01:00
tegra124.c memory/tegra: Add number of TLB lines for Tegra124 2015-12-14 16:11:35 +01:00
tegra210.c memory: tegra: Add Tegra210 support 2015-08-13 16:07:52 +02:00