diff options
author | 2008-07-23 21:31:44 -0700 | |
---|---|---|
committer | 2008-07-24 10:47:41 -0700 | |
commit | 7fc80b7bd682b47825e806018cca8ff7dc6bb55a (patch) | |
tree | d408bf73887f4788e0d5e70c91320fff1391f624 /kernel | |
parent | drivers/video/amifb.c cleanups (diff) | |
download | linux-rng-7fc80b7bd682b47825e806018cca8ff7dc6bb55a.tar.xz linux-rng-7fc80b7bd682b47825e806018cca8ff7dc6bb55a.zip |
neofb: simplify clock calculation
There is nothing to gain by converting value in kHz to fixed point MHz.
Just calculate everything in kHz.
A reorder of the loop allows reducing number of iterations (check if
frequency is not too high already).
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions