commit | fdec36f248c0508ab5d001ad65c38f413638b4a2 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Feb 06 09:54:52 2020 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Fri Feb 07 22:41:24 2020 +0800 |
tree | bcae159e88ac7faafba16bb886de3d72e5d321e7 | |
parent | ae44cafcb3f1287f618693bab865fcdbe4abb90f [diff] |
tegra: i2c: Change driver to use helper function Now that we have uclass_first_device_drvdata(), use it from the I2C driver to reduce code duplication. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>