Because it looks neater.
pch_i2c_writebytes is always called with a write in msgs->flags,
and pch_i2c_readbytes with a read.
Signed-off-by: Peter Rosin
---
drivers/i2c/busses/i2c-eg20t.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
Because it looks neater.
pch_i2c_writebytes is always called with a write in msgs->flags,
and pch_i2c_readbytes with a read.
Signed-off-by: Peter Rosin
---
drivers/i2c/busses/i2c-eg20t.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/i2c/busses/i2c-eg20t.c
2 matches
Mail list logo