From: Krzysztof Helt Date: Thu, 24 Jul 2008 04:31:44 +0000 (-0700) Subject: neofb: simplify clock calculation X-Git-Tag: v2.6.27-rc1~533 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fc80b7bd682b47825e806018cca8ff7dc6bb55a;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed