From: Geert Uytterhoeven Date: Wed, 14 Jan 2015 13:51:58 +0000 (-0800) Subject: leds: leds-mc13783: Use of_get_child_by_name() instead of refcount hack X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~93^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=452bc149947bb31775f0dc6a637fcf792af88e60;p=pandora-kernel.git leds: leds-mc13783: Use of_get_child_by_name() instead of refcount hack of_find_node_by_name() calls of_node_put() on its "from" parameter. To counter this, mc13xxx_led_probe_dt() calls of_node_get() first. Use of_get_child_by_name() instead to get rid of the refcount hack. Signed-off-by: Geert Uytterhoeven Cc: linux-leds@vger.kernel.org Signed-off-by: Bryan Wu --- Reading git-diff-tree failed