commit | 58a7d1c12c71b661115f3fb75431b4157c63a641 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon Oct 20 00:23:42 2014 +0200 |
committer | Heiko Schocher <hs@denx.de> | Wed Oct 29 08:55:58 2014 +0100 |
tree | 01d53b3e6b5235333c88715bfc0e402231f1bb91 | |
parent | 1fa96e80ecd5d0daeb7c76b9ceb447b442894177 [diff] |
i2c: mxs: Pass the i2c_adapter around This patch permeates the struct i2c_adapter throughout the driver, so that it can be used to determine which adapter should be used. Note that the driver still supports only one adapter. Note that the patch does shuffle mxs_i2c_set_bus_speed() to the top of the driver, but the function remains unchanged. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Heiko Schocher <hs@denx.de>