Commit c10496c8 authored by Ville Syrjälä's avatar Ville Syrjälä

drm: Fix some coding style issues

Put an empty line between the variable declarations and the code, and
use tabs for alignment.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180305144919.2881-3-ville.syrjala@linux.intel.comAcked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 4451c287
...@@ -158,9 +158,10 @@ static int framebuffer_check(struct drm_device *dev, ...@@ -158,9 +158,10 @@ static int framebuffer_check(struct drm_device *dev,
info = __drm_format_info(r->pixel_format & ~DRM_FORMAT_BIG_ENDIAN); info = __drm_format_info(r->pixel_format & ~DRM_FORMAT_BIG_ENDIAN);
if (!info) { if (!info) {
struct drm_format_name_buf format_name; struct drm_format_name_buf format_name;
DRM_DEBUG_KMS("bad framebuffer format %s\n", DRM_DEBUG_KMS("bad framebuffer format %s\n",
drm_get_format_name(r->pixel_format, drm_get_format_name(r->pixel_format,
&format_name)); &format_name));
return -EINVAL; return -EINVAL;
} }
......
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