commit | 13d598f672dfdcc0e960cb81f43837c2b9c62b75 | [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 | 06ed90b32d51d584e67bfdaa59d5758301225f8a [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>