Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 480d99fd authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Stephen Boyd
Browse files

clk: mvebu: armada-37xx-tbg: Switch to clk_get and balance it in probe



The parent clock is get only to have its name, and then the clock is no
more used, so we can safely free it using clk_put. Furthermore as between
the successful devm_clk_get() and the devm_clk_put() call we don't exit
the probe function in error so I can use non managed version of clk_get()
and clk_put().

Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent e9a2310f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment