Commit fa56b3f8 authored by Vitor Massaru Iha's avatar Vitor Massaru Iha Committed by Liviu Dudau

drm: Fix checkpatch issue: "WARNING: braces {} are not necessary for single statement blocks."

Signed-off-by: default avatarVitor Massaru Iha <vitor@massaru.org>
Signed-off-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
parent febae9bc
......@@ -317,9 +317,8 @@ static struct drm_plane *hdlcd_plane_init(struct drm_device *drm)
formats, ARRAY_SIZE(formats),
NULL,
DRM_PLANE_TYPE_PRIMARY, NULL);
if (ret) {
if (ret)
return ERR_PTR(ret);
}
drm_plane_helper_add(plane, &hdlcd_plane_helper_funcs);
hdlcd->plane = plane;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment