[PATCH v5 1/1] dt: add of_get_child_count helper function

Linus Walleij linus.walleij at linaro.org
Wed May 2 09:05:16 EST 2012


On Fri, Apr 27, 2012 at 5:36 AM, Dong Aisheng <b29396 at freescale.com> wrote:

> From: Dong Aisheng <dong.aisheng at linaro.org>
>
> Currently most code to get child count in kernel are almost same,
> add a helper to implement this function for dt to use.
>
> Cc: Grant Likely <grant.likely at secretlab.ca>
> Acked-by: Rob Herring <rob.herring at calxeda.com>
> Signed-off-by: Dong Aisheng <dong.aisheng at linaro.org>
>
> ---
> Rob missed this patch for 3.4 kernel.
> Based on Rob's suggestion, we can get it go in with pinctrl driver.
> Since Rob once had applied it, i added Rob's ack.
> See:
> https://lkml.org/lkml/2012/4/14/239

OK I've applied this to the pinctrl tree with Stephens ACK.

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list