[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1388250556-4594-3-git-send-email-mat.krawczuk@gmail.com>
Date: Sat, 28 Dec 2013 18:09:15 +0100
From: Mateusz Krawczuk <mat.krawczuk@...il.com>
To: kgene.kim@...sung.com
Cc: kyungmin.park@...sung.com, robh+dt@...nel.org, pawel.moll@....com,
mark.rutland@....com, ijc+devicetree@...lion.org.uk,
galak@...eaurora.org, rob@...dley.net, mturquette@...aro.org,
tomasz.figa@...il.com, thomas.abraham@...aro.org,
s.nawrocki@...sung.com, m.szyprowski@...sung.com,
padma.v@...sung.com, chander.kashyap@...aro.org,
t.dakhran@...sung.com, devicetree@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, rjw@...ysocki.net,
viresh.kumar@...aro.org, cpufreq@...r.kernel.org,
linux-pm@...r.kernel.org, linux@....linux.org.uk,
ben-linux@...ff.org, linux-samsung-soc@...r.kernel.org,
Mateusz Krawczuk <m.krawczuk@...tner.samsung.com>
Subject: [PATCH v5 Resend 2/3] Cpufreq: s5pv210 cpufreq fixes for CCF
From: Mateusz Krawczuk <m.krawczuk@...tner.samsung.com>
Use common clock framework api to get clock.
Signed-off-by: Mateusz Krawczuk <m.krawczuk@...tner.samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@...sung.com>
---
drivers/cpufreq/s5pv210-cpufreq.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c
index e3973da..ab0365a 100644
--- a/drivers/cpufreq/s5pv210-cpufreq.c
+++ b/drivers/cpufreq/s5pv210-cpufreq.c
@@ -471,17 +471,17 @@ static int __init s5pv210_cpu_init(struct cpufreq_policy *policy)
unsigned long mem_type;
int ret;
- cpu_clk = clk_get(NULL, "armclk");
+ cpu_clk = clk_get_sys("s5pv210-cpufreq", "armclk");
if (IS_ERR(cpu_clk))
return PTR_ERR(cpu_clk);
- dmc0_clk = clk_get(NULL, "sclk_dmc0");
+ dmc0_clk = clk_get_sys("s5pv210-cpufreq", "sclk_dmc0");
if (IS_ERR(dmc0_clk)) {
ret = PTR_ERR(dmc0_clk);
goto out_dmc0;
}
- dmc1_clk = clk_get(NULL, "hclk_msys");
+ dmc1_clk = clk_get_sys("s5pv210-cpufreq", "hclk_msys");
if (IS_ERR(dmc1_clk)) {
ret = PTR_ERR(dmc1_clk);
goto out_dmc1;
--
1.8.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists