commit | 8f2c2db132cf5f4ffb4b9702ddb7e6bc5a343814 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Wed Mar 26 16:06:36 2014 -0700 |
committer | Mike Turquette <mturquette@linaro.org> | Wed Apr 30 11:51:48 2014 -0700 |
tree | 3cbf9723124a52478c2cb424abf1705a5d0240e0 | |
parent | 86a612349fa58467cd63b30748114ec377d61807 [diff] |
clk: Consolidate recalc rate logic The same if-else statement exists four times to recalculate the rate of a clock. Consolidate this logic into a single function to save some lines. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>