projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce6c6e
)
clk: Use %u to format unsigned int in of_clk_src_onecell_get()
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Fri, 16 Oct 2015 15:12:32 +0000
(17:12 +0200)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Fri, 16 Oct 2015 18:49:01 +0000
(11:49 -0700)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk.c
b/drivers/clk/clk.c
index
a0fe9ca
..
63d0bfb
100644
(file)
--- a/
drivers/clk/clk.c
+++ b/
drivers/clk/clk.c
@@
-2932,7
+2932,7
@@
struct clk *of_clk_src_onecell_get(struct of_phandle_args *clkspec, void *data)
unsigned int idx = clkspec->args[0];
if (idx >= clk_data->clk_num) {
- pr_err("%s: invalid clock index %
d
\n", __func__, idx);
+ pr_err("%s: invalid clock index %
u
\n", __func__, idx);
return ERR_PTR(-EINVAL);
}