Commit 8f99f5ea authored by Dan Carpenter's avatar Dan Carpenter Committed by Stephen Boyd
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent bfeffd15
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);

	}
}