Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 133dcdeb authored by Lespiau, Damien's avatar Lespiau, Damien Committed by Dave Airlie
Browse files

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: default avatarDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 98a48237
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -90,7 +90,7 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,
	/* RGB formats use only one buffer */
	/* RGB formats use only one buffer */
	buffer = exynos_drm_fb_buffer(fb, 0);
	buffer = exynos_drm_fb_buffer(fb, 0);
	if (!buffer) {
	if (!buffer) {
		DRM_LOG_KMS("buffer is null.\n");
		DRM_DEBUG_KMS("buffer is null.\n");
		return -EFAULT;
		return -EFAULT;
	}
	}


+1 −1
Original line number Original line Diff line number Diff line
@@ -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);
		struct exynos_drm_gem_buf *buffer = exynos_drm_fb_buffer(fb, i);


		if (!buffer) {
		if (!buffer) {
			DRM_LOG_KMS("buffer is null\n");
			DRM_DEBUG_KMS("buffer is null\n");
			return -EFAULT;
			return -EFAULT;
		}
		}