From: Guennadi Liakhovetski Date: Thu, 12 Sep 2013 12:36:45 +0000 (+0200) Subject: i2c: rcar: get clock rate only once and simplify calculation X-Git-Tag: v3.13-rc1~43^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d0494037bb2af32a22563d40703c1263fca318d;p=pandora-kernel.git i2c: rcar: get clock rate only once and simplify calculation There is no need to repeatedly query clock frequency, where it is not expected to change. The complete loop can also trivially be replaced with a simple division. A further loop below the one, being simplified, could also be replaced, but that would get more complicated. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed