Searched hist:b92f4380a1c7eb3ed19d6f68ad7b66c66d8102b4 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/memory/tegra/ |
H A D | tegra124-emc.c | diff b92f4380a1c7eb3ed19d6f68ad7b66c66d8102b4 Wed Jan 04 08:13:24 CET 2017 Christophe Jaillet <christophe.jaillet@wanadoo.fr> 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>
|