Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755062AbcCBB6R (ORCPT ); Tue, 1 Mar 2016 20:58:17 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:9583 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754274AbcCBB6N (ORCPT ); Tue, 1 Mar 2016 20:58:13 -0500 Message-ID: <1456883885.24036.1.camel@mtksdaap41> Subject: Re: [PATCH 05/41] clk: mediatek: Remove CLK_IS_ROOT From: James Liao To: Stephen Boyd CC: Michael Turquette , , Date: Wed, 2 Mar 2016 09:58:05 +0800 In-Reply-To: <1456858826-28541-6-git-send-email-sboyd@codeaurora.org> References: <1456858826-28541-1-git-send-email-sboyd@codeaurora.org> <1456858826-28541-6-git-send-email-sboyd@codeaurora.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1045 Lines: 34 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 > Signed-off-by: Stephen Boyd Acked-by: James Liao 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",