Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4810094ybv; Wed, 26 Feb 2020 03:30:39 -0800 (PST) X-Google-Smtp-Source: APXvYqxVSIbWhyBkXoQKv/zo47xlbfPXhUUZ5L1tLkRFRM8r3UNgfTZa00suyj++2IoLMc7DS7CM X-Received: by 2002:a9d:34c:: with SMTP id 70mr2436872otv.174.1582716639434; Wed, 26 Feb 2020 03:30:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582716639; cv=none; d=google.com; s=arc-20160816; b=NiD79CKCJ7kY3R/80dWKC/y2SnDuHBozQ35Li2oabMLK23LP1pJ5/B+1TqflSG06yG Tkv1p0QFe+6a4gw13kS6D5zpYyj/o2YX+zCRPPUSa2rfulYvnzR+FtiBtbC3hJxirXAk mkfi/dD6kOVql68ZEASN97aHeJDJEdOtPfL6LVAXoW74sD2wU3daYAtAsTbrvO7UEMI4 TKWJhknqFBI77WHjgQkeyybH2hB1y2td+3+94BVkYXE7LXks4rVQpveMmHo2gAn2EGzR tjxE1kzLqiBYYgJq9/gvzkuG0Mxt8tNHk4rv0DwBQy2p3kYA6mF6dVa0hQ4LFabAT7SZ Z44Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=c9oYvqk4bz3RdNirgYTbjEv/r4N9Lei/FdOBAfJz/AU=; b=ba6VIRCci60Kr3JVw6Ws4NcKxNN4G8x09ilVUHyND8PYWjDNKACc+C7ihyw3Dtib5q OpDGXQq8Y1ffeSwFoJMKs6EnuAiTUWstoMqzp73j6c+d2wBiQflhqoM+rLFmekaFfgug uS+gIxyE4+nfRAI8UQE+01Af7vEbdIZ2Ro8AhpPRVVX4uqNfIlLPki6qs2c/sIPmV8ci EvD9v8HFoRlQ4Lp6MXitY0ULg1EkbrJNDq1iTGXyLZQBN6du7kIqOHo9kZv3/nidkKEI NSZtfd/x66phWUMDhEI1ABGthh3EuRFH2zPgu6Zq0WRL5cR+1EkVJWV6jWtqDVavlE1R TreQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si1027522oic.205.2020.02.26.03.30.23; Wed, 26 Feb 2020 03:30:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728056AbgBZL1c (ORCPT + 99 others); Wed, 26 Feb 2020 06:27:32 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:51314 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727974AbgBZL1c (ORCPT ); Wed, 26 Feb 2020 06:27:32 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id C1302293937 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , linux-arm-kernel@lists.infradead.org, CK Hu , Philipp Zabel , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, David Airlie , Matthias Brugger , Daniel Vetter Subject: [PATCH] drm/mediatek: Remove debug messages for function calls Date: Wed, 26 Feb 2020 12:27:23 +0100 Message-Id: <20200226112723.649954-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Equivalent information can be nowadays obtained using function tracer. Signed-off-by: Enric Balletbo i Serra --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 5 ----- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 -- 2 files changed, 7 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c index a236499123aa..882c690d3f13 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c @@ -192,7 +192,6 @@ static int mtk_crtc_ddp_clk_enable(struct mtk_drm_crtc *mtk_crtc) int ret; int i; - DRM_DEBUG_DRIVER("%s\n", __func__); for (i = 0; i < mtk_crtc->ddp_comp_nr; i++) { ret = clk_prepare_enable(mtk_crtc->ddp_comp[i]->clk); if (ret) { @@ -212,7 +211,6 @@ static void mtk_crtc_ddp_clk_disable(struct mtk_drm_crtc *mtk_crtc) { int i; - DRM_DEBUG_DRIVER("%s\n", __func__); for (i = 0; i < mtk_crtc->ddp_comp_nr; i++) clk_disable_unprepare(mtk_crtc->ddp_comp[i]->clk); } @@ -257,7 +255,6 @@ static int mtk_crtc_ddp_hw_init(struct mtk_drm_crtc *mtk_crtc) int ret; int i; - DRM_DEBUG_DRIVER("%s\n", __func__); if (WARN_ON(!crtc->state)) return -EINVAL; @@ -298,7 +295,6 @@ static int mtk_crtc_ddp_hw_init(struct mtk_drm_crtc *mtk_crtc) goto err_mutex_unprepare; } - DRM_DEBUG_DRIVER("mediatek_ddp_ddp_path_setup\n"); for (i = 0; i < mtk_crtc->ddp_comp_nr - 1; i++) { mtk_ddp_add_comp_to_path(mtk_crtc->config_regs, mtk_crtc->ddp_comp[i]->id, @@ -348,7 +344,6 @@ static void mtk_crtc_ddp_hw_fini(struct mtk_drm_crtc *mtk_crtc) struct drm_crtc *crtc = &mtk_crtc->base; int i; - DRM_DEBUG_DRIVER("%s\n", __func__); for (i = 0; i < mtk_crtc->ddp_comp_nr; i++) { mtk_ddp_comp_stop(mtk_crtc->ddp_comp[i]); if (i == 1) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 17f118ee0e57..4934834977b3 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -570,7 +570,6 @@ static int mtk_drm_sys_suspend(struct device *dev) int ret; ret = drm_mode_config_helper_suspend(drm); - DRM_DEBUG_DRIVER("mtk_drm_sys_suspend\n"); return ret; } @@ -582,7 +581,6 @@ static int mtk_drm_sys_resume(struct device *dev) int ret; ret = drm_mode_config_helper_resume(drm); - DRM_DEBUG_DRIVER("mtk_drm_sys_resume\n"); return ret; } -- 2.25.0