diff options
author | David Wu <david.wu@rock-chips.com> | 2016-05-16 16:57:39 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-06-17 14:39:15 +0300 |
commit | bef358c4fe2efa7467297303cafe973748afda93 (patch) | |
tree | 9ac77848d066b4e254051e164b5a23789d7072d6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 69eda367ac4240428b9d16ab0c81113753ea079a (diff) | |
download | linux-bef358c4fe2efa7467297303cafe973748afda93.tar.xz |
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 <david.wu@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Suggested-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions