aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2008-07-23 21:31:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 10:47:41 -0700
commit7fc80b7bd682b47825e806018cca8ff7dc6bb55a (patch)
treed408bf73887f4788e0d5e70c91320fff1391f624 /block
parent5798712d608f5ebad994487748a2ccf3cc613d78 (diff)
downloadkernel_goldelico_gta04-7fc80b7bd682b47825e806018cca8ff7dc6bb55a.zip
kernel_goldelico_gta04-7fc80b7bd682b47825e806018cca8ff7dc6bb55a.tar.gz
kernel_goldelico_gta04-7fc80b7bd682b47825e806018cca8ff7dc6bb55a.tar.bz2
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 'block')
0 files changed, 0 insertions, 0 deletions