summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-cdce925.c
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2018-10-10 21:18:38 +0300
committerStephen Boyd <sboyd@kernel.org>2018-10-17 02:51:03 +0300
commit480d99fdc3eee31a23c317927a335e9a71c2904f (patch)
treeb95b95df4ddb91d5f549d8a7f702f40fee642d57 /drivers/clk/clk-cdce925.c
parente9a2310fb689151166df7fd9971093362d34bd79 (diff)
downloadlinux-480d99fdc3eee31a23c317927a335e9a71c2904f.tar.xz
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: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-cdce925.c')
0 files changed, 0 insertions, 0 deletions