commit | 1d5ef2a83e3097408924b5eea8d7750bbde21e45 | [log] [tgz] |
---|---|---|
author | Jingchang Lu <b35083@freescale.com> | Wed Aug 07 17:05:39 2013 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Aug 15 16:12:47 2013 +0200 |
tree | cf5cac56d518145477e54175bd796f7569e32f23 | |
parent | 0fc1347a7fdbcc25204f737998b824fc46662afd [diff] |
i2c: imx: wrap registers read/write to inline function wrap the readb(), writeb() into inline function calls. It would make the driver more clearer to support platform with different register offset. Signed-off-by: Jingchang Lu <b35083@freescale.com> Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>