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

Commit 1cbd7ae1 authored by Soutrik Mukhopadhyay's avatar Soutrik Mukhopadhyay
Browse files

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: default avatarSoutrik Mukhopadhyay <mukhopad@codeaurora.org>
parent 4b054fac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}

+2 −2
Original line number Diff line number Diff line
// 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;
	}

+2 −2
Original line number Diff line number Diff line
// 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;
	}