commit | ecf5f077c8e77454f532eaac3e3afb7cfc48c62d | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@freescale.com> | Wed Dec 03 11:28:30 2008 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Mon Dec 15 23:46:21 2008 +0100 |
tree | 31ff670aa674bc9e44c6dd4baeea0ad5a4855fe5 | |
parent | e39cd81c44740d7355d277ed3d38536cbe1e003d [diff] |
i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions All implementations of the functions i2c_reg_read() and i2c_reg_write() are identical. We can save space and simplify the code by converting these functions into inlines and putting them in i2c.h. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-By: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>