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 <[email protected]> > --- > drivers/of/base.c | 73 +++++++++++++++++++++++++++++++--------------- > include/linux/of.h | 9 ++++++ > 2 files changed, 59 insertions(+), 23 deletions(-) >
Reviewed-by: Rob Herring <[email protected]>

