[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 5 Jun 2015 18:11:45 -0700
From: Stephen Boyd <sboyd@...eaurora.org>
To: dinguyen@...nsource.altera.com
Cc: mturquette@...aro.org, dinh.linux@...il.com,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCHv3 1/2] clk: of: helper for filling parent clock array and
return num of parents
On 06/05, dinguyen@...nsource.altera.com wrote:
> From: Dinh Nguyen <dinguyen@...nsource.altera.com>
>
> Sprinkled all through the platform clock drivers are code like this to
> fill the clock parent array:
>
> for (i = 0; i < num_parents; ++i)
> parent_names[i] = of_clk_get_parent_name(np, i);
>
> The of_clk_parent_fill() will do the same as the code above, and while
> at it, return the number of parents as well since the logic of the
> function is to the walk the clock node to look for the parent.
>
> Signed-off-by: Dinh Nguyen <dinguyen@...nsource.altera.com>
> ---
Applied to clk-next with some small kernel-doc fixes.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists