[PATCHv5 01/16] arm: arch_timer: balance device_node refcounting
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2013-01-31 15:33:52
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2013-01-31 15:33:52
On Thu, Jan 31, 2013 at 12:15:24PM +0000, Mark Rutland wrote:
When we get the device_node for the arch timer, it's refcount is automatically incremented in of_find_matching_node, but it is never decremented. This patch decrements the refcount on the node after we're finished using it. Reported-by: Will Deacon <redacted> Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Santosh Shilimkar <redacted>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>