MLK-22600-2 drm/imx: dpu: plane: Improve bailout path of dpu_plane_init()
authorLiu Ying <victor.liu@nxp.com>
Thu, 12 Sep 2019 06:24:56 +0000 (14:24 +0800)
committerLiu Ying <victor.liu@nxp.com>
Fri, 20 Sep 2019 02:01:31 +0000 (10:01 +0800)
commit2cbac623b9b75fc627f044564496b1514f44bff5
tree5254880b766ad61db11b85a6bce78cf7c64dce01
parent5ab3112a8d806d8676e40ec3bdca84b1738e27e2
MLK-22600-2 drm/imx: dpu: plane: Improve bailout path of dpu_plane_init()

This patch improves bailout path of dpu_plane_init().
As we'll add more drm properties to the planes later,
this would simply the code.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit 1a6ab9246b5d6e71e8a4a0a0b5ea15d7af0c9879)
drivers/gpu/drm/imx/dpu/dpu-plane.c