leds: leds-gpio: Use of_get_child_count() helper
authorTobias Klauser <klto@zhaw.ch>
Tue, 21 Aug 2012 09:21:53 +0000 (17:21 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Tue, 11 Sep 2012 10:32:40 +0000 (18:32 +0800)
commit127aedc8ecae2628511533ddeb239e99e4bed5e8
treef7824b0c09444ea79e07cb0582dcd43286f94584
parent59c4dce13018b04275478e95b3929eca55afcdfb
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>
drivers/leds/leds-gpio.c