diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-03-27 03:06:36 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-04-30 22:51:48 +0400 |
commit | 8f2c2db132cf5f4ffb4b9702ddb7e6bc5a343814 (patch) | |
tree | 3cbf9723124a52478c2cb424abf1705a5d0240e0 /drivers/char/hw_random | |
parent | 86a612349fa58467cd63b30748114ec377d61807 (diff) | |
download | linux-8f2c2db132cf5f4ffb4b9702ddb7e6bc5a343814.tar.xz |
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>
Diffstat (limited to 'drivers/char/hw_random')
0 files changed, 0 insertions, 0 deletions