From patchwork Wed Apr 12 11:52:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13209050 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63E45C7619A for ; Wed, 12 Apr 2023 11:52:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 862F110E794; Wed, 12 Apr 2023 11:52:57 +0000 (UTC) Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by gabe.freedesktop.org (Postfix) with ESMTPS id 369B610E794 for ; Wed, 12 Apr 2023 11:52:56 +0000 (UTC) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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 52D9266031FE; Wed, 12 Apr 2023 12:52:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681300375; bh=8iaiiDcFwWvEikKyBM/EHvngwZZN5lPfvgSCIoQUJv0=; h=From:To:Cc:Subject:Date:From; b=HHHKkgfyhj8S7yhY+Yhqg5BII5aB2y4NIJHNgD+UjIk95Qs4+XnnnbmvVgE6gcy5B VUkR5cIoL6Qz7QKfOgOknbZKRJAKvrQ9LIg7FNPrdgXhaVff43Uxp9OfiPiF1IhswS 2IWH/up5QzCII5y3wzkkDi+ZX/wZO2D4tp27kk3WJNpwSj4ScylG+oGjAWgtKvCB0s T8I6atAlXtuPgL4qZMlujWS6wFGf4dxa0mJCx9UcF1WDYRQKNJ4Uoht5S8YvsQdneo B2qmRBiJov9X8jsAX72k0C9alFpSGqjl7tflXp7cV+u1z03CrJGOaLVBXqCPUQVIGK 5ufVyt/9cF+nA== From: AngeloGioacchino Del Regno To: chunkuang.hu@kernel.org Subject: [PATCH 0/4] drm/mediatek: Small mtk-dpi cleanups Date: Wed, 12 Apr 2023 13:52:46 +0200 Message-Id: <20230412115250.164899-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 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: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com, kernel@collabora.com, linux-arm-kernel@lists.infradead.org, angelogioacchino.delregno@collabora.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is a small cleanup of the mtk-dpi driver, switching it to devm variants where possible and where it made sense, and reducing lines while retaining and improving human readability. AngeloGioacchino Del Regno (4): drm/mediatek: mtk_dpi: Simplify with devm_drm_bridge_add() drm/mediatek: mtk_dpi: Simplify with dev_err_probe() drm/mediatek: mtk_dpi: Switch to devm_drm_of_get_bridge() drm/mediatek: mtk_dpi: Use devm_platform_get_and_ioremap_resource() drivers/gpu/drm/mediatek/mtk_dpi.c | 59 +++++++++++------------------- 1 file changed, 21 insertions(+), 38 deletions(-)