From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregory CLEMENT Subject: Re: [PATCH] ARM: dove: Remove CLK_IS_ROOT Date: Wed, 27 Apr 2016 13:56:12 +0200 Message-ID: <87k2jjtgdf.fsf@free-electrons.com> References: <1461116748-5444-1-git-send-email-sboyd@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1461116748-5444-1-git-send-email-sboyd@codeaurora.org> (Stephen Boyd's message of "Tue, 19 Apr 2016 18:45:48 -0700") Sender: linux-kernel-owner@vger.kernel.org To: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andrew Lunn List-Id: linux-arm-msm@vger.kernel.org Hi Stephen, On mer., avril 20 2016, Stephen Boyd wrote: > This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate > CLK_IS_ROOT", 2016-02-02) so remove it. > > Cc: Andrew Lunn > Signed-off-by: Stephen Boyd Applied on mvebu/soc Thanks, Gregory > --- > arch/arm/mach-dove/common.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c > index 0cdaa3851d2e..0d420a2bfe3e 100644 > --- a/arch/arm/mach-dove/common.c > +++ b/arch/arm/mach-dove/common.c > @@ -88,8 +88,7 @@ static void __init dove_clk_init(void) > struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma; > struct clk *xor0, *xor1, *ge, *gephy; > > - tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT, > - dove_tclk); > + tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, dove_tclk); > > usb0 = dove_register_gate("usb0", "tclk", CLOCK_GATING_BIT_USB0); > usb1 = dove_register_gate("usb1", "tclk", CLOCK_GATING_BIT_USB1); > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregory.clement@free-electrons.com (Gregory CLEMENT) Date: Wed, 27 Apr 2016 13:56:12 +0200 Subject: [PATCH] ARM: dove: Remove CLK_IS_ROOT In-Reply-To: <1461116748-5444-1-git-send-email-sboyd@codeaurora.org> (Stephen Boyd's message of "Tue, 19 Apr 2016 18:45:48 -0700") References: <1461116748-5444-1-git-send-email-sboyd@codeaurora.org> Message-ID: <87k2jjtgdf.fsf@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Stephen, On mer., avril 20 2016, Stephen Boyd wrote: > This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate > CLK_IS_ROOT", 2016-02-02) so remove it. > > Cc: Andrew Lunn > Signed-off-by: Stephen Boyd Applied on mvebu/soc Thanks, Gregory > --- > arch/arm/mach-dove/common.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c > index 0cdaa3851d2e..0d420a2bfe3e 100644 > --- a/arch/arm/mach-dove/common.c > +++ b/arch/arm/mach-dove/common.c > @@ -88,8 +88,7 @@ static void __init dove_clk_init(void) > struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma; > struct clk *xor0, *xor1, *ge, *gephy; > > - tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT, > - dove_tclk); > + tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, dove_tclk); > > usb0 = dove_register_gate("usb0", "tclk", CLOCK_GATING_BIT_USB0); > usb1 = dove_register_gate("usb1", "tclk", CLOCK_GATING_BIT_USB1); > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com