summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLespiau, Damien <damien.lespiau@intel.com>2014-03-24 15:53:10 +0000
committerInki Dae <inki.dae@samsung.com>2014-04-28 21:33:33 +0900
commit1b51590a02ad7f4b6ab0f9202313f9b1a69b6758 (patch)
tree3da2c2609a8e327457ff8c33bdd4ee61466b4f94
parentf2850af25e223761db9af0ca4d4a7abed3c3f7e3 (diff)
downloadlinux-3.10-1b51590a02ad7f4b6ab0f9202313f9b1a69b6758.tar.gz
linux-3.10-1b51590a02ad7f4b6ab0f9202313f9b1a69b6758.tar.bz2
linux-3.10-1b51590a02ad7f4b6ab0f9202313f9b1a69b6758.zip
drm/exynos: Replace DRM_LOG_KMS() by DRM_DEBUG_KMS()
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> Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fbdev.c2
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_plane.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
index b5f9a718c01..a29902e9556 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
@@ -89,7 +89,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;
}
diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c b/drivers/gpu/drm/exynos/exynos_drm_plane.c
index b590cf66785..e2e05064391 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_plane.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c
@@ -89,7 +89,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;
}