drm: Fix checkpatch issue: "WARNING: braces {} are not necessary for single statement blocks."
Subsystems (4)
PATCH 1/1 drm: Fix checkpatch issue: "WARNING: braces {} are not necessary for single statement blocks."
Signed-off-by Vitor Massaru Iha <[email protected]>
--- drivers/gpu/drm/arm/hdlcd_crtc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/arm/hdlcd_crtc.c +1 -2
@@ -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;
Signature · 6 lines
2.13.6 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Vitor,
Thanks for the patch!
Acked-by Liviu Dudau <[email protected]>
I will pull the patch and send it to David Airlie in this weeks' pull request.
Best regards,
Liviu
Quoted 23 lines · Vitor Massaru Iha
Signed-off-by Vitor Massaru Iha <[email protected]>--- drivers/gpu/drm/arm/hdlcd_crtc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/arm/hdlcd_crtc.c +1
-2@@ -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;Signature · 1 line
2.13.6
Signature · 12 lines
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel