clk: Use %u to format unsigned int in of_clk_src_onecell_get()
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
3ce6c6e541
commit
7e96353c3f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue