Re: [PATCH v3 6/9] driver core: Rename declaration parameter name for API device_find_child() cluster
From: Jonathan Cameron
Date: Mon Dec 16 2024 - 10:21:34 EST
On Thu, 12 Dec 2024 21:38:42 +0800
Zijun Hu <zijun_hu@xxxxxxxxxx> wrote:
> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>
> For APIs:
> device_find_child()
> device_for_each_child()
> device_for_each_child_reverse()
>
> Their declaration has parameter name 'dev', but their defination
> changes the name to 'parent'.
>
> Rename declaration name to defination 'parent' to make both have
> the same name.
>
> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>