]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: mvtwsi: Streamline code and add documentation
authormario.six@gdsys.cc <mario.six@gdsys.cc>
Thu, 21 Jul 2016 09:57:02 +0000 (11:57 +0200)
committerHeiko Schocher <hs@denx.de>
Tue, 26 Jul 2016 08:19:16 +0000 (10:19 +0200)
commitdfc3958cd3cce33e16cefec36f670d6202e50e4f
tree05bcff94b173fadd7ac37a9c44593803fd1b238e
parent9ec43b0c3fb0ee65772001b84db9ada2af7e104d
i2c: mvtwsi: Streamline code and add documentation

Convert groups of logically connected preprocessor defines into proper
enums, one macro into an inline function, and add documentation
to/extend existing documentation of these items.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/i2c/mvtwsi.c