Re: [PATCH v2 1/7] of: base: Add of_count_phandle_with_fixed_args()

From: Rob Herring
Date: Mon Oct 26 2020 - 09:23:00 EST


On Fri, 16 Oct 2020 18:35:35 +0100, Richard Fitzgerald wrote:
> Add an equivalent of of_count_phandle_with_args() for fixed argument
> sets, to pair with of_parse_phandle_with_fixed_args().
>
> The existing of_count_phandle_with_args() is modified to be a
> private function that handles both cases and the public functions
> are trivial wrappers round that.
>
> Signed-off-by: Richard Fitzgerald <rf@xxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/of/base.c | 73 +++++++++++++++++++++++++++++++---------------
> include/linux/of.h | 9 ++++++
> 2 files changed, 59 insertions(+), 23 deletions(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>