[RFC PATCH v3 1/5] dt: add of_get_child_count helper function

Linus Walleij linus.walleij at linaro.org
Mon Jan 2 00:58:21 EST 2012


On Wed, Dec 21, 2011 at 3:56 AM, Dong Aisheng-B29396
<B29396 at freescale.com> wrote:
>> On 12/20/2011 11:40 AM, Dong Aisheng 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.
>> >
>> > ---
>> > Changes v1->v2:
>> >  * change the name from of_get_child_number to of_get_child_count
>> >
>> > Signed-off-by: Dong Aisheng <dong.aisheng at linaro.org>
>> > Cc: Grant Likely <grant.likely at secretlab.ca>
>> > Cc: Rob Herring <rob.herring at calxeda.com>
>>
>> I assume you want this to go in with the rest of the series? If not, let me know.
>>
>> Acked-by: Rob Herring <rob.herring at calxeda.com>
>>
>> Rob
>>
> Yes, since other patches in this series depend on this patch.
> Thanks for the review.

Does that mean the entire shebang needs to be merged through the
pinctrl subsystem?

If this patch stands on it's own, I think it's proper to merge it into
the DT for-next tree now, since we don't know if this entire series
will make it into the next merge window.

If the patch would anyway happen to end up in two trees,
no big deal.

Rob, can you merge it?

Thanks,
Linus Walleij


More information about the devicetree-discuss mailing list