Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1346932 > unrolled thread

[PATCH 05/41] clk: mediatek: Remove CLK_IS_ROOT

Started byStephen Boyd <sboyd@codeaurora.org>
First post2016-03-01 20:20 +0100
Last post2016-03-02 03:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 05/41] clk: mediatek: Remove CLK_IS_ROOT Stephen Boyd <sboyd@codeaurora.org> - 2016-03-01 20:20 +0100
    Re: [PATCH 05/41] clk: mediatek: Remove CLK_IS_ROOT James Liao <jamesjj.liao@mediatek.com> - 2016-03-02 03:00 +0100

#1346932 — [PATCH 05/41] clk: mediatek: Remove CLK_IS_ROOT

FromStephen Boyd <sboyd@codeaurora.org>
Date2016-03-01 20:20 +0100
Subject[PATCH 05/41] clk: mediatek: Remove CLK_IS_ROOT
Message-ID<r7XZU-4Y6-13@gated-at.bofh.it>
This flag is a no-op now. Remove usage of the flag.

Cc: James Liao <jamesjj.liao@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 drivers/clk/mediatek/clk-mtk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c
index 352830369e0e..5ada644e6200 100644
--- a/drivers/clk/mediatek/clk-mtk.c
+++ b/drivers/clk/mediatek/clk-mtk.c
@@ -58,8 +58,8 @@ void __init mtk_clk_register_fixed_clks(const struct mtk_fixed_clk *clks,
 	for (i = 0; i < num; i++) {
 		const struct mtk_fixed_clk *rc = &clks[i];
 
-		clk = clk_register_fixed_rate(NULL, rc->name, rc->parent,
-				rc->parent ? 0 : CLK_IS_ROOT, rc->rate);
+		clk = clk_register_fixed_rate(NULL, rc->name, rc->parent, 0,
+					      rc->rate);
 
 		if (IS_ERR(clk)) {
 			pr_err("Failed to register clk %s: %ld\n",
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

[toc] | [next] | [standalone]


#1347594

FromJames Liao <jamesjj.liao@mediatek.com>
Date2016-03-02 03:00 +0100
Message-ID<r84f3-EO-71@gated-at.bofh.it>
In reply to#1346932
On Tue, 2016-03-01 at 10:59 -0800, Stephen Boyd wrote:
> This flag is a no-op now. Remove usage of the flag.
> 
> Cc: James Liao <jamesjj.liao@mediatek.com>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Acked-by: James Liao <jamesjj.liao@mediatek.com>


Best regards,

James

> ---
>  drivers/clk/mediatek/clk-mtk.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c
> index 352830369e0e..5ada644e6200 100644
> --- a/drivers/clk/mediatek/clk-mtk.c
> +++ b/drivers/clk/mediatek/clk-mtk.c
> @@ -58,8 +58,8 @@ void __init mtk_clk_register_fixed_clks(const struct mtk_fixed_clk *clks,
>  	for (i = 0; i < num; i++) {
>  		const struct mtk_fixed_clk *rc = &clks[i];
>  
> -		clk = clk_register_fixed_rate(NULL, rc->name, rc->parent,
> -				rc->parent ? 0 : CLK_IS_ROOT, rc->rate);
> +		clk = clk_register_fixed_rate(NULL, rc->name, rc->parent, 0,
> +					      rc->rate);
>  
>  		if (IS_ERR(clk)) {
>  			pr_err("Failed to register clk %s: %ld\n",

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web