commit | 051f0ea4f420849c398fa49c86ec2716b3c6f338 | [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 | f6da94a7ce2340b05f666e824e9484b666fc6133 [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>