Re: [PATCH v7 2/9] i2c: rk3x: use struct "rk3x_i2c_calced_timings"

From: David.Wu
Date: Thu May 05 2016 - 22:19:14 EST

Hi Doug,

å 2016/5/6 6:55, Doug Anderson åé:

On Wed, May 4, 2016 at 7:13 AM, David Wu <david.wu@xxxxxxxxxxxxxx> wrote:
Signed-off-by: David Wu <david.wu@xxxxxxxxxxxxxx>

Usually folks like a description and not just a subject line. I'd add
a description like:

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.

Okay, i will add it in next version, thanks.

Change in v7:
- none

drivers/i2c/busses/i2c-rk3x.c | 55 +++++++++++++++++++++++++------------------
1 file changed, 32 insertions(+), 23 deletions(-)

Other than the description, I think this looks fine.

IMHO this can be applied any time independent of any earlier patches.

Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>