]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm: Fix some coding style issues
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 5 Mar 2018 14:49:19 +0000 (16:49 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 12 Mar 2018 20:25:44 +0000 (22:25 +0200)
Put an empty line between the variable declarations and the code, and
use tabs for alignment.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180305144919.2881-3-ville.syrjala@linux.intel.com
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_framebuffer.c

index 5a13ff29f4f04af99c61fa07261a35a44ac0dd8e..0eebe8ba8a2c3eeccc829d6e33474e8480fbed7d 100644 (file)
@@ -158,9 +158,10 @@ static int framebuffer_check(struct drm_device *dev,
        info = __drm_format_info(r->pixel_format & ~DRM_FORMAT_BIG_ENDIAN);
        if (!info) {
                struct drm_format_name_buf format_name;
+
                DRM_DEBUG_KMS("bad framebuffer format %s\n",
-                             drm_get_format_name(r->pixel_format,
-                                                 &format_name));
+                             drm_get_format_name(r->pixel_format,
+                                                 &format_name));
                return -EINVAL;
        }