[PATCH v8 2/8] i2c: rk3x: use struct "rk3x_i2c_calced_timings"

2016-05-10 Thread David Wu
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 Reviewed-by: Douglas Anderson

[PATCH v8 2/8] i2c: rk3x: use struct "rk3x_i2c_calced_timings"

2016-05-10 Thread David Wu
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 Reviewed-by: Douglas Anderson --- Change in v8: - add commit