commit | c660b2ebb25be5668a4ed333539f34b05841e17a | [log] [tgz] |
---|---|---|
author | Dong Aisheng <aisheng.dong@freescale.com> | Tue Jul 28 21:19:41 2015 +0800 |
committer | Michael Turquette <mturquette@baylibre.com> | Mon Aug 24 16:49:13 2015 -0700 |
tree | f5e93c26009e6d948203cad4e638b16ca0319d42 | |
parent | 836ee0f7d95c3feb742bd4b3a02fea3fe75bdef3 [diff] |
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: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>