i2c: ihs_i2c: Prepare DM conversion
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Jan 2018 10:08:10 +0000 (11:08 +0100)
committerHeiko Schocher <hs@denx.de>
Tue, 6 Feb 2018 06:00:33 +0000 (07:00 +0100)
commit64ef094bc5b6dee4d9d44f4efd5f594a5979c08d
tree983e2b15b6012b2d708ccc74852ee3b67a75f084
parent84a4d34e966eee81268a8c6acc591f359f045559
i2c: ihs_i2c: Prepare DM conversion

Prepare the function interface of the ihs_i2c driver for DM conversion
in a future patch.

While we're at it, fix some style violations, and make the code more readable.

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