drm/stm: ltdc: fix warnings in ltdc_plane_create()
authorPhilippe CORNU <philippe.cornu@st.com>
Thu, 19 Apr 2018 13:28:04 +0000 (15:28 +0200)
committerPhilippe Cornu <philippe.cornu@st.com>
Fri, 27 Apr 2018 09:02:58 +0000 (11:02 +0200)
commitcccb57d8fdc9332c14f451e96a9604fa02a5bed2
treed152a2586203f0ca1f2d4aba0ffd8fe03e84a337
parent0cefff963bf2af9ec9b2e2b537c3d3e6a43ceb9b
drm/stm: ltdc: fix warnings in ltdc_plane_create()

"make C=1" returns 2 warnings in ltdc_plane_create()
("Using plain integer as NULL pointer"). This patch
fixes them.

Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Reviewed-by: Yannick Fertré <yannick.fertre@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180419132804.8317-1-philippe.cornu@st.com
drivers/gpu/drm/stm/ltdc.c