diff options
author | David Wu <[email protected]> | 2016-05-16 22:03:24 +0800 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2016-06-17 13:39:15 +0200 |
commit | b58fd3be40a21a88520d4a3682330abbbc021cc7 (patch) | |
tree | ac84d7baa387f4188a2072865d5bf001e7e8c8b2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bef358c4fe2efa7467297303cafe973748afda93 (diff) |
i2c: rk3x: Move spec timing data to "static const" structs
The i2c timing specs are really just constant data. There's no reason
to write code to init them, so move them out to structures. This not
only is a cleaner solution but it will reduce code duplication when we
introduce a new variant of rk3x_i2c_calc_divs() in a future patch.
Signed-off-by: David Wu <[email protected]>
Suggested-by: Douglas Anderson <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions