i2c: ihs_i2c: Make DM compatible
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Jan 2018 10:08:11 +0000 (11:08 +0100)
committerHeiko Schocher <hs@denx.de>
Tue, 6 Feb 2018 06:01:06 +0000 (07:01 +0100)
commit92164216a7383907a38212fd3ca95dc7546ce49f
tree75cbabdcf2b39edc8441a393962c7f629d0c2500
parent64ef094bc5b6dee4d9d44f4efd5f594a5979c08d
i2c: ihs_i2c: Make DM compatible

Make the ihs_i2c driver DM-compatible; for legacy boards, the old functions are
retained within #ifdefs.

No board uses the new DM driver yet; this patch only lays the foundation for
future support.

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