diff options
author | David Wu <[email protected]> | 2016-05-16 21:57:39 +0800 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2016-06-17 13:39:15 +0200 |
commit | bef358c4fe2efa7467297303cafe973748afda93 (patch) | |
tree | 9ac77848d066b4e254051e164b5a23789d7072d6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 69eda367ac4240428b9d16ab0c81113753ea079a (diff) |
i2c: rk3x: Change SoC data to not use array
Specifying the i2c SoC data in an array provides very little benefit and
gets unwieldly / confusing as the array grows since the next bit of code
needs to refer to elements in the array by their raw integral index.
Let's just create a single 'static const' structure for each SoC so that
we can refer to these structures by ID.
Signed-off-by: David Wu <[email protected]>
Reviewed-by: Heiko Stuebner <[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