On Wed, Feb 05, 2025 at 12:42:21PM +0000, Biju Das wrote: > There are lot of drivers using of_get_child_by_name() followed by > of_device_is_available() to find the available child node by name for a > given parent. Provide a helper for these users to simplify the code. > > Suggested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > Reviewed-by: Rob Herring <robh@xxxxxxxxxx> > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > --- > previous v2->v2 > * Added Rb tag from Rob. > v1->previous v2: > * Updated commit description. > * Updated kerneldoc comment block > * Avoided code duplication by using of_get_child_by_name(). Reviewed-by: Simon Horman <horms@xxxxxxxxxx>