[PATCHv3 0/2] clk: of: add helper function to fill parent clock array

2015-06-05 Thread dinguyen
From: Dinh Nguyen Hi, As suggested by Stephen Boyd, this patch adds a helper function that will fill the parent clock array. Since the following code is sprinkled all over the platform clock drivers: for (i = 0; i < num_parents; ++i) parent_names[i] = of_clk_get_parent_name(np, i);

[PATCHv3 0/2] clk: of: add helper function to fill parent clock array

2015-06-05 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com Hi, As suggested by Stephen Boyd, this patch adds a helper function that will fill the parent clock array. Since the following code is sprinkled all over the platform clock drivers: for (i = 0; i num_parents; ++i) parent_names[i] =