Re: [PATCH 20/21] i2c: stu300: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Linus Walleij
On Mon, May 14, 2018 at 4:53 PM, Peter Rosin wrote: > Because it looks neater. > > Also restructure debug output for resends, since that code as a > result is only handling debug output. > > Signed-off-by: Peter Rosin Looks good to me! Acked-by: Linus Walleij

Re: [PATCH 20/21] i2c: stu300: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Linus Walleij
On Mon, May 14, 2018 at 4:53 PM, Peter Rosin wrote: > Because it looks neater. > > Also restructure debug output for resends, since that code as a > result is only handling debug output. > > Signed-off-by: Peter Rosin Looks good to me! Acked-by: Linus Walleij Yours, Linus Walleij

[PATCH 20/21] i2c: stu300: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Also restructure debug output for resends, since that code as a result is only handling debug output. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-stu300.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff

[PATCH 20/21] i2c: stu300: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Also restructure debug output for resends, since that code as a result is only handling debug output. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-stu300.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git