leds: leds-mc13783: Use of_get_child_by_name() instead of refcount hack
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 <a1ff81395f7e6bf5b509fe9aab06bf3419493e1d@glider.be>
Cc: 2bba503ad96c16667c4a68a38d3a93c116a91b27@vger.kernel.org
Signed-off-by: Bryan Wu <956b36c0f472d2edb239225c10f7e4411d1efbb9@gmail.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs