leds: leds-gpio: Use of_get_child_count() helper

Use of_get_child_count() instead of custom implementation.

Signed-off-by: Tobias Klauser <klto@zhaw.ch>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
This commit is contained in:
Tobias Klauser 2012-08-21 17:21:53 +08:00 • committed by Bryan Wu
commit 127aedc8ec