Commit 21a4437d authored by Stephen Boyd's avatar Stephen Boyd Committed by Srinivas Kandagatla
Browse files

clk: mux: Add unregistration API



Some drivers want to remove clocks they register with
clk_unregister(). Unfortunately, calling clk_unregister()
directly on the clock returned by clk_register_mux() would result
in a memory leak of the clk_mux struct. Add an API to free that
allocation and unregister the clock.

Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent b2776bf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment