]> www.infradead.org Git - users/dwmw2/linux.git/commit
cpuidle: dt: Add missing 'of_node_put()'
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Sun, 11 Jun 2017 12:28:54 +0000 (14:28 +0200)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:36:29 +0000 (21:36 -0400)
commitc07fb6fbd3926e08821720a302ce7809dba4cf4f
tree5699b922399314439313b44ffcffc0fc81d436bb
parent89bb17a4e4906b0a503ed5c1b609071f62402472
cpuidle: dt: Add missing 'of_node_put()'

[ Upstream commit b2cdd8e1b54849477a32d820acc2e87828a38f3d ]

'of_node_put()' should be called on pointer returned by
'of_parse_phandle()' when done. In this function this is done in all path
except this 'continue', so add it.

Fixes: 97735da074fd (drivers: cpuidle: Add status property to ARM idle states)
Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/cpuidle/dt_idle_states.c