Skip to content
Commit c660b2eb authored by Dong Aisheng's avatar Dong Aisheng Committed by Michael Turquette
Browse files

clk: remove duplicated code with __clk_set_parent_after



__clk_set_parent_after() actually used the second argument then we
could put this duplicate logic in there and call it with a different
order of arguments in the success vs. error paths in this function.

Cc: Mike Turquette <mturquette@linaro.org>
Suggested-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarDong Aisheng <aisheng.dong@freescale.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 836ee0f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment