Skip to content
Snippets Groups Projects
Commit d84eb856 authored by Simon Glass's avatar Simon Glass Committed by Heiko Schocher
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent f3e93617
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment