Re: [PATCH v5 01/14] dm: core: Add function to get child count of ofnode or device

2020-04-15 Thread Simon Glass
On Thu, 9 Apr 2020 at 23:46, Chunfeng Yun wrote: > > This patch add function used to get the child count of > a ofnode or a device > > Signed-off-by: Chunfeng Yun > --- > v4~v5: no changes > > v3: > 1. add non/inline function dev_get_child_count() instead of macro > suggested by Simon > >

Re: [PATCH v5 01/14] dm: core: Add function to get child count of ofnode or device

2020-04-15 Thread Weijie Gao
On Fri, 2020-04-10 at 13:45 +0800, Chunfeng Yun wrote: > This patch add function used to get the child count of > a ofnode or a device > > Signed-off-by: Chunfeng Yun > --- > v4~v5: no changes > > v3: > 1. add non/inline function dev_get_child_count() instead of macro > suggested by Simon

[PATCH v5 01/14] dm: core: Add function to get child count of ofnode or device

2020-04-09 Thread Chunfeng Yun
This patch add function used to get the child count of a ofnode or a device Signed-off-by: Chunfeng Yun --- v4~v5: no changes v3: 1. add non/inline function dev_get_child_count() instead of macro suggested by Simon v2: 1. move ofnode_get_child_count() into ofnode.c suggested by Simon