video: stm32_ltdc: Convert to use APIs which support live DT
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 9 Sep 2020 15:44:12 +0000 (17:44 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 2 Oct 2020 13:05:14 +0000 (15:05 +0200)
commit28c6ba861c7aa8345e7266104776a4f259abe5b6
treea09204da387109fe7fe2f3dfb57b65d8ade7374d
parent10bccd0dd3b91b27b752b48bbff6e725c8393467
video: stm32_ltdc: 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: Yannick Fertré <yannick.fertre@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/video/stm32/stm32_ltdc.c