]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: i2c-gpio: Convert to use APIs which support live DT
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 10 Sep 2020 16:25:09 +0000 (18:25 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Oct 2020 17:33:07 +0000 (13:33 -0400)
commit5b825ff74bb52a18af5620954f5912bfbb9af035
treefa1039275f64eef40214d6704d0d4c272caede3c
parentf8a31cc83021b595eaf6fb075a332472c7871c67
i2c: i2c-gpio: Convert to use APIs which support live DT

Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the
driver can support live DT.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-gpio.c