mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
clk: qoriq: Improve an error message
We intended to print "ret" but there is a copy and paste bug from the previous error message. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
bfeffd1552
commit
8f99f5eab0
1 changed files with 2 additions and 2 deletions
|
|
@ -1148,8 +1148,8 @@ static void __init create_one_pll(struct clockgen *cg, int idx)
|
|||
pll->div[i].clk = clk;
|
||||
ret = clk_register_clkdev(clk, pll->div[i].name, NULL);
|
||||
if (ret != 0)
|
||||
pr_err("%s: %s: register to lookup table failed %ld\n",
|
||||
__func__, pll->div[i].name, PTR_ERR(clk));
|
||||
pr_err("%s: %s: register to lookup table failed %d\n",
|
||||
__func__, pll->div[i].name, ret);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue