commit | 474bccb0b3165c7a0107c3d716237aa78f26fd61 | [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 | 8cfad3622451537adc9e9e35d0e14b2c9bf74e08 [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>