* [PATCH] clk: hi6220: use CLK_OF_DECLARE_DRIVER
@ 2019-10-01 18:25 John Stultz
2019-10-28 15:07 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: John Stultz @ 2019-10-01 18:25 UTC (permalink / raw)
To: lkml
Cc: Peter Griffin, Michael Turquette, Stephen Boyd, Allison Randal,
linux-clk, John Stultz
From: Peter Griffin <peter.griffin@linaro.org>
As now we also need to probe in the reset driver as well.
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Allison Randal <allison@lohutok.net>
Cc: Peter Griffin <peter.griffin@linaro.org>
Cc: linux-clk@vger.kernel.org
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
---
drivers/clk/hisilicon/clk-hi6220.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/hisilicon/clk-hi6220.c b/drivers/clk/hisilicon/clk-hi6220.c
index b2c5b6bbb1c1..63a94e1b6785 100644
--- a/drivers/clk/hisilicon/clk-hi6220.c
+++ b/drivers/clk/hisilicon/clk-hi6220.c
@@ -86,7 +86,7 @@ static void __init hi6220_clk_ao_init(struct device_node *np)
hisi_clk_register_gate_sep(hi6220_separated_gate_clks_ao,
ARRAY_SIZE(hi6220_separated_gate_clks_ao), clk_data_ao);
}
-CLK_OF_DECLARE(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init);
+CLK_OF_DECLARE_DRIVER(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init);
/* clocks in sysctrl */
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: hi6220: use CLK_OF_DECLARE_DRIVER
2019-10-01 18:25 [PATCH] clk: hi6220: use CLK_OF_DECLARE_DRIVER John Stultz
@ 2019-10-28 15:07 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2019-10-28 15:07 UTC (permalink / raw)
To: John Stultz, lkml
Cc: Peter Griffin, Michael Turquette, Allison Randal, linux-clk, John Stultz
Quoting John Stultz (2019-10-01 11:25:46)
> From: Peter Griffin <peter.griffin@linaro.org>
>
> As now we also need to probe in the reset driver as well.
>
> Cc: Michael Turquette <mturquette@baylibre.com>
> Cc: Stephen Boyd <sboyd@kernel.org>
> Cc: Allison Randal <allison@lohutok.net>
> Cc: Peter Griffin <peter.griffin@linaro.org>
> Cc: linux-clk@vger.kernel.org
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> Signed-off-by: John Stultz <john.stultz@linaro.org>
> ---
> drivers/clk/hisilicon/clk-hi6220.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/hisilicon/clk-hi6220.c b/drivers/clk/hisilicon/clk-hi6220.c
> index b2c5b6bbb1c1..63a94e1b6785 100644
> --- a/drivers/clk/hisilicon/clk-hi6220.c
> +++ b/drivers/clk/hisilicon/clk-hi6220.c
> @@ -86,7 +86,7 @@ static void __init hi6220_clk_ao_init(struct device_node *np)
> hisi_clk_register_gate_sep(hi6220_separated_gate_clks_ao,
> ARRAY_SIZE(hi6220_separated_gate_clks_ao), clk_data_ao);
> }
> -CLK_OF_DECLARE(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init);
> +CLK_OF_DECLARE_DRIVER(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init);
>
I'll add a comment about the reset driver to the code. Otherwise,
applied to clk-next.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-28 15:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01 18:25 [PATCH] clk: hi6220: use CLK_OF_DECLARE_DRIVER John Stultz
2019-10-28 15:07 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).