Stephen Boyd 8f2c2db132 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>
2014-04-30 11:51:48 -07:00
..
2014-01-17 13:39:42 -08:00
2014-03-29 02:03:39 +01:00
2013-12-19 11:45:17 -08:00
2014-03-25 15:59:23 -07:00
2014-03-19 12:35:07 -07:00
2014-04-07 10:24:18 -07:00
2013-11-04 12:23:18 -08:00
2012-08-31 11:05:18 -07:00
2013-05-31 12:07:45 -07:00
2014-04-30 11:51:48 -07:00