summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorBryan Wu <cooloney@gmail.com>2013-09-24 19:38:26 +0200
committerBryan Wu <cooloney@gmail.com>2013-10-25 19:12:31 +0200
commit954e04b9491adea99e4590bc73937fdd8774ab3c (patch)
treeff4b2d6f961b9243e1a678f0c054a555c652e67e /drivers/leds
parentleds: Added driver for the NXP PCA9685 I2C chip (diff)
downloadlinux-954e04b9491adea99e4590bc73937fdd8774ab3c.tar.xz
linux-954e04b9491adea99e4590bc73937fdd8774ab3c.zip
of: introduce of_get_available_child_count
Some drivers keep counting available child by themselves. So introduce a new simple API like of_get_child_count() but for available childs. Cc: Josh Wu <josh.wu@atmel.com> Signed-off-by: Bryan Wu <cooloney@gmail.com> Acked-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions