diff mbox

ACPI / amba: Remove CLK_IS_ROOT

Message ID 1461115718-31151-1-git-send-email-sboyd@codeaurora.org (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show

Commit Message

Stephen Boyd April 20, 2016, 1:28 a.m. UTC
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
CLK_IS_ROOT", 2016-02-02) so remove it.

Cc: Graeme Gregory <graeme.gregory@linaro.org>
Cc: Aleksey Makarov <aleksey.makarov@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 drivers/acpi/acpi_amba.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Graeme Gregory April 20, 2016, 7:28 a.m. UTC | #1
On 20 April 2016 at 02:28, Stephen Boyd <sboyd@codeaurora.org> wrote:
> This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
> CLK_IS_ROOT", 2016-02-02) so remove it.
>
> Cc: Graeme Gregory <graeme.gregory@linaro.org>
> Cc: Aleksey Makarov <aleksey.makarov@linaro.org>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
>  drivers/acpi/acpi_amba.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/acpi/acpi_amba.c b/drivers/acpi/acpi_amba.c
> index 2a61b54ab968..7f77c071709a 100644
> --- a/drivers/acpi/acpi_amba.c
> +++ b/drivers/acpi/acpi_amba.c
> @@ -35,8 +35,7 @@ static void amba_register_dummy_clk(void)
>         if (amba_dummy_clk)
>                 return;
>
> -       amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL,
> -                                               CLK_IS_ROOT, 0);
> +       amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, 0, 0);
>         clk_register_clkdev(amba_dummy_clk, "apb_pclk", NULL);
>  }
>
Looks good to me.

Acked-by: Graeme Gregory <graeme.gregory@linaro.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Rafael J. Wysocki May 4, 2016, 9:11 p.m. UTC | #2
On Wednesday, April 20, 2016 08:28:38 AM G Gregory wrote:
> On 20 April 2016 at 02:28, Stephen Boyd <sboyd@codeaurora.org> wrote:
> > This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
> > CLK_IS_ROOT", 2016-02-02) so remove it.
> >
> > Cc: Graeme Gregory <graeme.gregory@linaro.org>
> > Cc: Aleksey Makarov <aleksey.makarov@linaro.org>
> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> > ---
> >  drivers/acpi/acpi_amba.c | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/drivers/acpi/acpi_amba.c b/drivers/acpi/acpi_amba.c
> > index 2a61b54ab968..7f77c071709a 100644
> > --- a/drivers/acpi/acpi_amba.c
> > +++ b/drivers/acpi/acpi_amba.c
> > @@ -35,8 +35,7 @@ static void amba_register_dummy_clk(void)
> >         if (amba_dummy_clk)
> >                 return;
> >
> > -       amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL,
> > -                                               CLK_IS_ROOT, 0);
> > +       amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, 0, 0);
> >         clk_register_clkdev(amba_dummy_clk, "apb_pclk", NULL);
> >  }
> >
> Looks good to me.
> 
> Acked-by: Graeme Gregory <graeme.gregory@linaro.org>

Applied, thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/acpi/acpi_amba.c b/drivers/acpi/acpi_amba.c
index 2a61b54ab968..7f77c071709a 100644
--- a/drivers/acpi/acpi_amba.c
+++ b/drivers/acpi/acpi_amba.c
@@ -35,8 +35,7 @@  static void amba_register_dummy_clk(void)
 	if (amba_dummy_clk)
 		return;
 
-	amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL,
-						CLK_IS_ROOT, 0);
+	amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, 0, 0);
 	clk_register_clkdev(amba_dummy_clk, "apb_pclk", NULL);
 }