drm/exynos: Replace DRM_LOG_KMS() by DRM_DEBUG_KMS()
authorLespiau, Damien <damien.lespiau@intel.com>
Mon, 24 Mar 2014 15:53:10 +0000 (15:53 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Mar 2014 02:57:04 +0000 (12:57 +1000)
There are only a few users of the DRM_LOG_KMS() macro. We can simplify
the DRM code a bit by replacing them by DRM_DEBUG_KMS().

Cc: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
drivers/gpu/drm/exynos/exynos_drm_plane.c

index e7c2f2d07f193b0393052be2e1bf32921b804da9..5fa342e5f9633214ee45dcc70fd96f89b858c67f 100644 (file)
@@ -90,7 +90,7 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,
        /* RGB formats use only one buffer */
        buffer = exynos_drm_fb_buffer(fb, 0);
        if (!buffer) {
-               DRM_LOG_KMS("buffer is null.\n");
+               DRM_DEBUG_KMS("buffer is null.\n");
                return -EFAULT;
        }
 
index e0db2b3f7adaa6ae5487fc1f8fedba4fdddf59fd..8371cbd7631d421365a194c9b3d936fd8b02a567 100644 (file)
@@ -87,7 +87,7 @@ int exynos_plane_mode_set(struct drm_plane *plane, struct drm_crtc *crtc,
                struct exynos_drm_gem_buf *buffer = exynos_drm_fb_buffer(fb, i);
 
                if (!buffer) {
-                       DRM_LOG_KMS("buffer is null\n");
+                       DRM_DEBUG_KMS("buffer is null\n");
                        return -EFAULT;
                }