We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a8f2b commit 818d915Copy full SHA for 818d915
drivers/clk/visconti/pll.c
@@ -246,7 +246,6 @@ static struct clk_hw *visconti_register_pll(struct visconti_pll_provider *ctx,
246
{
247
struct clk_init_data init;
248
struct visconti_pll *pll;
249
- struct clk *pll_clk;
250
struct clk_hw *pll_hw_clk;
251
size_t len;
252
int ret;
@@ -277,7 +276,7 @@ static struct clk_hw *visconti_register_pll(struct visconti_pll_provider *ctx,
277
276
pll_hw_clk = &pll->hw;
278
ret = clk_hw_register(NULL, &pll->hw);
279
if (ret) {
280
- pr_err("failed to register pll clock %s : %ld\n", name, PTR_ERR(pll_clk));
+ pr_err("failed to register pll clock %s : %d\n", name, ret);
281
kfree(pll);
282
pll_hw_clk = ERR_PTR(ret);
283
}
0 commit comments