]> git.baikalelectronics.ru Git - kernel.git/commit
clk: visconti: Fix uninitialized variable in printk
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Jan 2022 07:25:29 +0000 (10:25 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 13 Jan 2022 21:21:02 +0000 (13:21 -0800)
commitfcfa030fdd1116546659ae860f7c428943d5f95d
tree8d723329b6c8a869af800e84aa145444f8b8aff3
parent22e50b87902c07c8b01514c59f389c3579eabebf
clk: visconti: Fix uninitialized variable in printk

The "pll_clck" variable is uninitialized.  The "ret" error code was
supposed to be printed instead.

Fixes: ebf2764e543a ("clk: visconti: Add support common clock driver and reset driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220111072529.GJ11243@kili
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/visconti/pll.c