projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
febae9b
)
drm: Fix checkpatch issue: "WARNING: braces {} are not necessary for single statement...
author
Vitor Massaru Iha
<vitor@massaru.org>
Mon, 30 Oct 2017 13:36:54 +0000
(11:36 -0200)
committer
Liviu Dudau
<Liviu.Dudau@arm.com>
Mon, 27 Nov 2017 09:51:27 +0000
(09:51 +0000)
Signed-off-by: Vitor Massaru Iha <vitor@massaru.org>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/arm/hdlcd_crtc.c
b/drivers/gpu/drm/arm/hdlcd_crtc.c
index 72b22b805412b2cb19d8d90e85904be737ecf335..5a5427bbd70e47e8e8e1e0b744bf356a6175a6bc 100644
(file)
--- 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;