Message ID | 20230608101209.126499-1-angelogioacchino.delregno@collabora.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp179006vqr; Thu, 8 Jun 2023 03:30:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7uDkz7kHv9I7aBWeugrThgVKmXz9SF/e3PZ0MfPwQq9f/Rw+rIp3C8TPJueMifVrPH0feF X-Received: by 2002:a05:6a21:339a:b0:119:273:bdcd with SMTP id yy26-20020a056a21339a00b001190273bdcdmr442694pzb.28.1686220234734; Thu, 08 Jun 2023 03:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686220234; cv=none; d=google.com; s=arc-20160816; b=ayzln8QwY+8RvNqhDkEIsoUzpenjt9jGpkxRgF1Ds1DhNGCxUbG4UMT5tqFev43ExA KI94V0ZYRGvyvxyL/Kf3buvu4r2Utyu18KTd3qDsu1fuFTPB4pMoAs+BbfpDaCBdeL+G Z10QtahPw6GZiobykXz0M2zYQRghdNZpZcAUd5ESJ8zaBbiJfeit9+70z9vb1FN++fjh o/2vnfvENaisPkavUvrKqH4FpEIdJI60QEH9MZkrktIDlO27fIpQIPtvMmAZyRkMcfnT lPAZ7Xl/Xcw+371g8L8rNL8uNGFWNZzGMMgY+JfvOwlGnXsFMEpk7QS7zI7IHfafcyYV TqAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bdjQDa2CSB5TDpC4t2izbKWWsI3+nOORPdJBIQ1KdMw=; b=s9T3Oi/bE5lX5wOfw2bcSA2f4D67YK9kZINQ0vT2EWZ2MniAM+ecJyTOh0OV2PsUo+ 2zYKhjdRAGihFk92f5qSInpZIjjRGZYcTVCjiRqjmT6AYvhabEcgsR4pdl9R5j4ubW9C +202NwNCkbqCsN6XztoT+sdfR3tqRX5BX/po9RtEj/yQunwm/3n4kuxik33ICAco5woT FIxCGgZvRsVY0azHVzt1LAS2XTmViPq8ugdWYuV3N4UbrmER9DcVh24OESjiajLRXT69 FFLl1UMfoF7niM4YOVQ7OQgbHl5EK7mHjCT2S0INBp7EdVB/jhLZAL7eJSzcJxhJihpi YM7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=KXRtkM4C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u8-20020a170903124800b001b04a6330a1si910405plh.170.2023.06.08.03.30.20; Thu, 08 Jun 2023 03:30:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=KXRtkM4C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235666AbjFHKMS (ORCPT <rfc822;liningstudo@gmail.com> + 99 others); Thu, 8 Jun 2023 06:12:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235419AbjFHKMQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 8 Jun 2023 06:12:16 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2E06211C for <linux-kernel@vger.kernel.org>; Thu, 8 Jun 2023 03:12:14 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 01C966606F10; Thu, 8 Jun 2023 11:12:12 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686219133; bh=htK85a15rgB70pAiwirg1NuBxZSlaNpIlLEQliB0CKQ=; h=From:To:Cc:Subject:Date:From; b=KXRtkM4CXJf+IOobM2UO7YbpAL05O78sIPHxI2S5I6kSf1wCmo94OLUl7IAgrUiOt nKWRrOftMrcsEBZGfpLdcHvnbsm8QiBUZXhF2+SOXAU3LtPJ/GZUVKziaX/kdmZFfe rtb0TEPQK3exBin/8T6WjwAj+Y2BlE9JODWUBLk0AQN4AbQE0uqptb+/tORNIMcRem kOReUlz1/AwZ5zidDHcbWWd+mSgMTVfRe07k+bdVrS1W5xRwSC25rkuo2WyLxLWurj PeIj9NwRH8r909MctKH5r+1s7A/Wr1sHMewI40u6pcss2gyAnlS8kq1eogOS+gTbPp LQBpdN8pBqjFQ== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: chunkuang.hu@kernel.org Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH 0/3] drm/mediatek: General cleanups Date: Thu, 8 Jun 2023 12:12:06 +0200 Message-Id: <20230608101209.126499-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768130068577206830?= X-GMAIL-MSGID: =?utf-8?q?1768130068577206830?= |
Series | drm/mediatek: General cleanups | |
Message
AngeloGioacchino Del Regno
June 8, 2023, 10:12 a.m. UTC
This series performs some cleanups in drm/mediatek; specifically, changes it to use devm_platform_get_and_ioremap_resource(), dev_err_probe() and devm_pm_runtime_enable, hence harmonizing log formats and removing some unneeded lines of code. AngeloGioacchino Del Regno (3): drm/mediatek: Use devm_platform_get_and_ioremap_resource() drm/mediatek: Use dev_err_probe() in probe functions drm/mediatek: Use devm variant for pm_runtime_enable() when possible drivers/gpu/drm/mediatek/mtk_cec.c | 29 ++++--------- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 21 ++++----- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 19 +++----- drivers/gpu/drm/mediatek/mtk_disp_color.c | 22 ++++------ drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 19 +++----- drivers/gpu/drm/mediatek/mtk_disp_merge.c | 28 +++++------- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 26 +++++------ .../gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 13 +++--- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 43 +++++++------------ drivers/gpu/drm/mediatek/mtk_dsi.c | 21 ++++----- drivers/gpu/drm/mediatek/mtk_ethdr.c | 18 ++++---- drivers/gpu/drm/mediatek/mtk_hdmi.c | 17 +++----- drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c | 15 +++---- drivers/gpu/drm/mediatek/mtk_mdp_rdma.c | 29 ++++++------- 14 files changed, 121 insertions(+), 199 deletions(-)