commit | 60e0c3a3c24d3243f4ae274395a6b7642fe6e8e4 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jan 23 11:48:12 2020 -0700 |
committer | Heiko Schocher <hs@denx.de> | Mon Jan 27 07:21:20 2020 +0100 |
tree | 662e7ffaa78b6080324b3e5a2360e94e66b2b047 | |
parent | 9e5d1746b7cec2cc9de1f7e6268aa5f8ea9f55b4 [diff] |
i2c: designware_i2c: Drop scl_sda_cfg parameter Instead of passing this parameter into __dw_i2c_set_bus_speed(), pass in the driver's private data, from which the function can obtain that information. This allows the function to have access to the full state of the driver. Signed-off-by: Sicomp_param1mon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Simon Glass <sjg@chromium.org>