diff options
| author | David Wu <david.wu@rock-chips.com> | 2016-05-16 21:57:39 +0800 |
|---|---|---|
| committer | Wolfram Sang <wsa@the-dreams.de> | 2016-06-17 13:39:15 +0200 |
| commit | bef358c4fe2efa7467297303cafe973748afda93 (patch) | |
| tree | 9ac77848d066b4e254051e164b5a23789d7072d6 /lib/mpi/mpiutil.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 <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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
