From: Axel Lin Date: Sun, 27 Jan 2013 12:56:57 +0000 (-0800) Subject: leds: 88pm860x: Add missing of_node_put() X-Git-Tag: v3.9-rc1~79^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61d4eb2724283e85b37ed2fe13390366d7a6db74;p=pandora-kernel.git leds: 88pm860x: Add missing of_node_put() of_find_node_by_name() returns a node pointer with refcount incremented, use of_node_put() on it when done. of_find_node_by_name() will call of_node_put() against from parameter, thus we also need to call of_node_get(from) before calling of_find_node_by_name(). Signed-off-by: Axel Lin Signed-off-by: Bryan Wu --- Reading git-diff-tree failed