diff mbox

[06/11] staging: imx-drm: Replace DRM_LOG_KMS() by DRM_DEBUG_KMS()

Message ID 1395676398-7058-7-git-send-email-damien.lespiau@intel.com (mailing list archive)
State Accepted
Headers show

Commit Message

Lespiau, Damien March 24, 2014, 3:53 p.m. UTC
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: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 drivers/staging/imx-drm/ipuv3-plane.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Philipp Zabel March 25, 2014, 9:24 a.m. UTC | #1
Am Montag, den 24.03.2014, 15:53 +0000 schrieb Damien Lespiau:
> 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: Philipp Zabel <p.zabel@pengutronix.de>
> Cc: Lucas Stach <l.stach@pengutronix.de>
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>

regards
Philipp

>  drivers/staging/imx-drm/ipuv3-plane.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/imx-drm/ipuv3-plane.c b/drivers/staging/imx-drm/ipuv3-plane.c
> index 34b642a..5128dc39 100644
> --- a/drivers/staging/imx-drm/ipuv3-plane.c
> +++ b/drivers/staging/imx-drm/ipuv3-plane.c
> @@ -68,7 +68,7 @@ int ipu_plane_set_base(struct ipu_plane *ipu_plane, struct drm_framebuffer *fb,
>  
>  	cma_obj = drm_fb_cma_get_gem_obj(fb, 0);
>  	if (!cma_obj) {
> -		DRM_LOG_KMS("entry is null.\n");
> +		DRM_DEBUG_KMS("entry is null.\n");
>  		return -EFAULT;
>  	}
>
diff mbox

Patch

diff --git a/drivers/staging/imx-drm/ipuv3-plane.c b/drivers/staging/imx-drm/ipuv3-plane.c
index 34b642a..5128dc39 100644
--- a/drivers/staging/imx-drm/ipuv3-plane.c
+++ b/drivers/staging/imx-drm/ipuv3-plane.c
@@ -68,7 +68,7 @@  int ipu_plane_set_base(struct ipu_plane *ipu_plane, struct drm_framebuffer *fb,
 
 	cma_obj = drm_fb_cma_get_gem_obj(fb, 0);
 	if (!cma_obj) {
-		DRM_LOG_KMS("entry is null.\n");
+		DRM_DEBUG_KMS("entry is null.\n");
 		return -EFAULT;
 	}