summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm
diff options
context:
space:
mode:
authorVitor Massaru Iha <vitor@massaru.org>2017-10-30 11:36:54 -0200
committerLiviu Dudau <Liviu.Dudau@arm.com>2017-11-27 09:51:27 +0000
commitfa56b3f83177e1ad60815f750dd3816bd4c25677 (patch)
treecde38cf6a3aafd92c5fa8b70a63d51d4b179c555 /drivers/gpu/drm/arm
parentfebae9bc946de2c85e324b20bb7dc7b2d4e49d37 (diff)
downloadlinux-fa56b3f83177e1ad60815f750dd3816bd4c25677.tar.bz2
drm: Fix checkpatch issue: "WARNING: braces {} are not necessary for single statement blocks."
Signed-off-by: Vitor Massaru Iha <vitor@massaru.org> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm')
-rw-r--r--drivers/gpu/drm/arm/hdlcd_crtc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/arm/hdlcd_crtc.c b/drivers/gpu/drm/arm/hdlcd_crtc.c
index 72b22b805412..5a5427bbd70e 100644
--- a/drivers/gpu/drm/arm/hdlcd_crtc.c
+++ b/drivers/gpu/drm/arm/hdlcd_crtc.c
@@ -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;