summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-09-12 14:36:45 +0200
committerWolfram Sang <wsa@the-dreams.de>2013-09-30 06:02:32 +0200
commit8d0494037bb2af32a22563d40703c1263fca318d (patch)
tree27b4c422a5c7f38b7da661648c81babec81ba9a2 /tools/perf/scripts/python
parent14d32f1794fd559e12f27e8b5c57053073bd75aa (diff)
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 <g.liakhovetski+renesas@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions