commit | e26747bf53b145dc4a64ad518915da8c9a40fef2 | [log] [tgz] |
---|---|---|
author | David Wu <david.wu@rock-chips.com> | Mon May 16 21:57:37 2016 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Jun 17 13:39:15 2016 +0200 |
tree | 84edf8cc49ad029320effcc66c43858fa5c75f33 | |
parent | 0a6ad2f95f36bf1686c6598697d8afc7daca2a03 [diff] |
i2c: rk3x: use struct "rk3x_i2c_calced_timings" The "div_high" and "div_low" values are always used together. Group them into a structure to make it easier to pass them both around. This structure also provides a place for future calculated timings. Signed-off-by: David Wu <david.wu@rock-chips.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>