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 <mukhopad@codeaurora.org>
This commit is contained in:
Soutrik Mukhopadhyay 2021-10-19 19:02:58 +05:30
commit 1cbd7ae152
3 changed files with 5 additions and 5 deletions

View file

@ -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;
}

View file

@ -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 <drm/drm_atomic_helper.h>
@ -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;
}

View file

@ -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;
}