From 1cbd7ae15233d7712e57028be43c62ccaf4bbb5d Mon Sep 17 00:00:00 2001 From: Soutrik Mukhopadhyay Date: Tue, 19 Oct 2021 19:02:58 +0530 Subject: [PATCH] disp: msm: dp: replace pr_err with DP_ERR This change replaces pr_err with DP_ERR in dp_display driver source code. Change-Id: I5c621ead001c5b9364511495fceba1aa7f41488d Signed-off-by: Soutrik Mukhopadhyay --- msm/dp/dp_display.c | 2 +- msm/dp/dp_drm.c | 4 ++-- msm/dp/dp_panel.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/msm/dp/dp_display.c b/msm/dp/dp_display.c index 62544f4d6f73..3e0fdbd26fce 100644 --- a/msm/dp/dp_display.c +++ b/msm/dp/dp_display.c @@ -3051,7 +3051,7 @@ static int dp_display_setup_colospace(struct dp_display *dp_display, struct dp_display_private *dp; if (!dp_display || !panel) { - pr_err("invalid input\n"); + DP_ERR("invalid input\n"); return -EINVAL; } diff --git a/msm/dp/dp_drm.c b/msm/dp/dp_drm.c index f1e870af0811..3c29801249c3 100644 --- a/msm/dp/dp_drm.c +++ b/msm/dp/dp_drm.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved. */ #include @@ -336,7 +336,7 @@ int dp_connector_set_colorspace(struct drm_connector *connector, sde_conn = to_sde_connector(connector); if (!sde_conn->drv_panel) { - pr_err("invalid dp panel\n"); + DP_ERR("invalid dp panel\n"); return -EINVAL; } diff --git a/msm/dp/dp_panel.c b/msm/dp/dp_panel.c index 0d63f3aa230a..5369ab30bdb4 100644 --- a/msm/dp/dp_panel.c +++ b/msm/dp/dp_panel.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2021, The Linux Foundation. All rights reserved. */ #include "dp_panel.h" @@ -2571,7 +2571,7 @@ static int dp_panel_set_colorspace(struct dp_panel *dp_panel, struct dp_panel_private *panel; if (!dp_panel) { - pr_err("invalid input\n"); + DP_ERR("invalid input\n"); rc = -EINVAL; goto end; }