Re: [PATCH] soc: fsl/qe: Use of_get_child_by_name helper

From: Li Yang
Date: Thu Aug 30 2018 - 13:05:05 EST


On Wed, Aug 29, 2018 at 9:49 PM Qiang Zhao <qiang.zhao@xxxxxxx> wrote:
>
> From: Rob Herring <robh@xxxxxxxxxx>
> date: 2018/8/30 4:04
>
> > To: Qiang Zhao <qiang.zhao@xxxxxxx>
> > Cc: linux-kernel@xxxxxxxxxxxxxxx; Leo Li <leoyang.li@xxxxxxx>;
> > linuxppc-dev@xxxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> > Subject: [PATCH] soc: fsl/qe: Use of_get_child_by_name helper
> >
> > Use the of_get_child_by_name() helper instead of open coding searching for the
> > 'firmware' child node. This removes directly accessing the name pointer as well.
> >
> > Cc: Qiang Zhao <qiang.zhao@xxxxxxx>
> > Cc: Li Yang <leoyang.li@xxxxxxx>
> > Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
> > Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> > Signed-off-by: Rob Herring <robh@xxxxxxxxxx>

Merged for next. Thanks.

Regards,
Leo