diff options
author | 2021-07-12 17:20:26 +0300 | |
---|---|---|
committer | 2021-08-11 16:43:25 +0200 | |
commit | c045214a0f31dd5d6be716ed2f119b57b6c5d3a2 (patch) | |
tree | 4b7a3b3c39b8a225633f66b3396eeefa9fbd06a5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | units: Add SI metric prefix definitions (diff) | |
download | linux-dev-c045214a0f31dd5d6be716ed2f119b57b6c5d3a2.tar.xz linux-dev-c045214a0f31dd5d6be716ed2f119b57b6c5d3a2.zip |
i2c: designware: Use DIV_ROUND_CLOSEST() macro
Instead of open-coding DIV_ROUND_CLOSEST() and similar use the macros directly.
While at it, replace numbers with predefined SI metric prefixes.
No functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions