commit | d84eb856c4385c90f4f68594819744b638f77a02 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Oct 30 07:28:52 2012 +0000 |
committer | Heiko Schocher <hs@denx.de> | Tue Jul 23 08:34:54 2013 +0200 |
tree | 67f57a86d918126a9559fe58fd8883d8b2e2df72 | |
parent | f3e9361771af69b12699c8e58b174d72f0bb545e [diff] |
tegra: i2c: Add function to know about current bus Rather than using a variable in various places, add a single function, tegra_i2c_get_bus(), which returns a pointer to information about a bus. This will make it easier to move to the new i2c framework. Signed-off-by: Simon Glass <sjg@chromium.org>