From: Geert Uytterhoeven <geert+renesas@glider.be>
Date: Fri, 16 Oct 2015 15:12:32 +0000 (+0200)
Subject: clk: Use %u to format unsigned int in of_clk_src_onecell_get()
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e96353c3faaedea91f67972d011db41ed21b367;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

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>
---

diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index a0fe9ca1f0af..63d0bfb29e83 100644
--- 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);
 	}