i2c: ihs_i2c: Factor out send_buffer method
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Jan 2018 10:08:12 +0000 (11:08 +0100)
committerHeiko Schocher <hs@denx.de>
Tue, 6 Feb 2018 06:02:11 +0000 (07:02 +0100)
commit9cef983d1c5d3c4150f70346346ace29b1dfe432
tree65c54dc485325c1d7b4f17b343d38af0fcf6cc9d
parent92164216a7383907a38212fd3ca95dc7546ce49f
i2c: ihs_i2c: Factor out send_buffer method

Simplify the driver logic by extracting a common send_buffer method.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
drivers/i2c/ihs_i2c.c