]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: mxc: Fix dev_err being called on a nonexistant variable
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:44:39 +0000 (10:44 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:52:30 +0000 (08:52 -0400)
commit2cdea8be7cae5b611c42d7f5128ff7c2636f3313
treea2f1aafe9345e96355720cad8e0cf3b8c589e259
parente22c1a9385fea2a14b1aad7cee829afb37b93530
i2c: mxc: Fix dev_err being called on a nonexistant variable

The udevice we are working with is called `bus` and not `dev`.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/i2c/mxc_i2c.c