[PATCH v2 1/7] of: base: Add of_count_phandle_with_fixed_args()
Rob Herring
robh at kernel.org
Mon Oct 26 14:19:57 CET 2020
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 at opensource.cirrus.com>
> ---
> drivers/of/base.c | 73 +++++++++++++++++++++++++++++++---------------
> include/linux/of.h | 9 ++++++
> 2 files changed, 59 insertions(+), 23 deletions(-)
>
Reviewed-by: Rob Herring <robh at kernel.org>
More information about the Alsa-devel
mailing list