From patchwork Tue May 11 13:43:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 434211 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp3845501jao; Tue, 11 May 2021 06:44:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC78V/OfE6KC838B5H0l7kZCLdVsbuwUople/J8qAsz+kIwm0vVeYvN5X4p5arBuhQyAOw X-Received: by 2002:a62:ce85:0:b029:28e:1637:3fc9 with SMTP id y127-20020a62ce850000b029028e16373fc9mr30788537pfg.41.1620740677662; Tue, 11 May 2021 06:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620740677; cv=none; d=google.com; s=arc-20160816; b=yclSuOoeLm248rlRhSU78w2mO8DqnFdv2YwXYB032T0LMsgQ3L6Q4hCSE7c5zMdMos ED236pzjPJ1CAyx+uGUiRuMHL6w1LkKyAe9N+HlK5oZgRs+IaYlLdZWtAfaQLSI+e6Gt OTy59ZulpkLiopxEwhSK94nEe2DHZux3JDxRtxH4uzri2YuUx0Ph+9jvrBqNqLLerTbm NvImIbGyVPkhZKe14zDyHhhqIpa9rfcnTZo4dm5BgPfEkMd/2Bf3vSwebbJ/3va1/Via NO/NocNRLHmD/k0UJJ9/4iWiJyAghozdp0IIbMMsuT7n27dVLuAtqcRO+uVzaOFb9DVr fe6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:delivered-to; bh=2LABu6neJNdCvySvkWs0wH0KjuOBbN3h1M6Tl9gSZzc=; b=yOr3rLJd1DcqZUXFtGndoaxKIrBhAJAeeI+fNBmFVJSlhx/YGheR2BKlR0COhZbjW6 Z94uS+icVamFteujVvm4a9Yh0tnLM6G2a+Gcz/fvC3SmcpoPTgrImLB7CoH0TIDwC2vv aXF40Iq1UjtlDOtWSz37YKzEMFuGqiJzWpBm+92Yq8wtWGGuOBX7NPtvpASon0XYxVsM cTOsQu7tpPnKaM49YDZpONsc/tNyMWyCDB64MtXotvVutDdU1YvpTPyqdt62oTUZ25Ul PDf8V3GIJw3i2Ilxyk0GHpqTS6XPkeGkqNS2QJTN+VxI7kmzba6snnlCgRsMLw9C2QUi K62g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id l10si21886613pgb.331.2021.05.11.06.44.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 May 2021 06:44:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 43E1D6E519; Tue, 11 May 2021 13:44:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E4326EA2F for ; Tue, 11 May 2021 13:44:33 +0000 (UTC) Received: from dggeml708-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FffDw1ddhzWh8H; Tue, 11 May 2021 21:40:16 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggeml708-chm.china.huawei.com (10.3.17.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 11 May 2021 21:44:30 +0800 Received: from thunder-town.china.huawei.com (10.174.177.72) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 11 May 2021 21:44:29 +0800 From: Zhen Lei To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , Baruch Siach , dri-devel , linux-mediatek , linux-arm-kernel Subject: [PATCH v2 0/1] drm/mediatek: Remove redundant error printing Date: Tue, 11 May 2021 21:43:36 +0800 Message-ID: <20210511134338.6167-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.72] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhen Lei Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" v1 --> v2: 1. Combine the modifications of several drm/mediatek files into one patch. 2. According to Baruch Siach's review comment, simplify the following code snippets: - ret = PTR_ERR(cec->regs); - return ret; + return PTR_ERR(cec->regs); Zhen Lei (1): drm/mediatek: Remove redundant error printing drivers/gpu/drm/mediatek/mtk_cec.c | 7 ++----- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 4 +--- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 4 +--- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 4 +--- drivers/gpu/drm/mediatek/mtk_dpi.c | 7 ++----- drivers/gpu/drm/mediatek/mtk_dsi.c | 1 - 6 files changed, 7 insertions(+), 20 deletions(-) -- 2.26.0.106.g9fadedd