Re: [PATCH] memory: tegra: Add a missing 'of_node_put()' call

2017-01-24 Thread Thierry Reding
On Wed, Jan 04, 2017 at 08:13:24AM +0100, Christophe JAILLET wrote: > 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

[PATCH] memory: tegra: Add a missing 'of_node_put()' call

2017-01-03 Thread Christophe JAILLET
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 --- drivers/memory/tegra/tegra124-e