]> git.dujemihanovic.xyz Git - u-boot.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)
commitb4f11dfcbd0129e16e6548eabee2d8482190835f
treea2f1aafe9345e96355720cad8e0cf3b8c589e259
parente579230b37cc04cef866a74985e9523d2a4079fe
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