From mboxrd@z Thu Jan 1 00:00:00 1970 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 BCC8EC02194 for ; Thu, 6 Feb 2025 14:15:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4734910E859; Thu, 6 Feb 2025 14:15:33 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="QFN15TOt"; dkim-atps=neutral Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id D6E2B10E859 for ; Thu, 6 Feb 2025 14:15:31 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id ABF5DA44301; Thu, 6 Feb 2025 14:13:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB7EFC4CEDD; Thu, 6 Feb 2025 14:15:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738851330; bh=NnqBms1V+4E9EfQaAWHmp1xTPNsYHk4NHNYKw/gc4LE=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=QFN15TOtrwkcAyA/lsiNaWymj//OCxIz5HucWhWHhCATirYavxVO59r4NPBM1VITc e+0xwpj/6cllUySpG2J01BM9d912Jm9lleZqs3pU1O3HdQFqJuEnxhX7s3ayQaEn+J uPpfKRER4ScCQc1p6C4esmKdk5fGJxU5pFXYI+hvewBb2q1GnMjw+Xc3wld5LiVHqL IYNH2q5SCXspU0KCnOPUdyq4IYIMyYl8fk3Zlt4hpVsFdD3w+JsD/hYrMTc0fCojHr fsXb+MFRghIZqpKoSuwq88hRtoc3i7eJ2eeyZkraYPppScjf4IDEprsKrWZYlzxnvI kZYRg3Qh41w1w== Message-ID: Date: Thu, 06 Feb 2025 14:15:27 +0000 From: "Maxime Ripard" To: "Anusha Srivatsa" Subject: Re: [PATCH 04/12] drm/mediatek: move to devm_platform_ioremap_resource() usage In-Reply-To: <20250205-mem-cocci-newapi-v1-4-aebf2b0e2300@redhat.com> References: <20250205-mem-cocci-newapi-v1-4-aebf2b0e2300@redhat.com> Cc: dri-devel@lists.freedesktop.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, "Alain Volmat" , "Alexandre Torgue" , "Alexey Brodkin" , "Alison Wang" , "Andrew Jeffery" , "Andy Yan" , "AngeloGioacchino Del Regno" , "Baolin Wang" , "Chun-Kuang Hu" , "Chunyan Zhang" , "Dave Stevenson" , "David Airlie" , "Fabio Estevam" , =?utf-8?b?SGVpa28gU3TDvGJuZXI=?= , "Joel Stanley" , "John Stultz" , "Jonathan Corbet" , "Jonathan Hunter" , "Maarten Lankhorst" , "Marek Vasut" , "Matthias Brugger" , "Maxime Coquelin" , "Maxime Ripard" , =?utf-8?b?TWHDrXJhIENhbmFs?= , "Mikko Perttunen" , "Orson Zhai" , "Pengutronix Kernel Team" , "Philipp Zabel" , "Philippe Cornu" , "Raphael Gallais-Pou" , "Raphael Gallais-Pou" , "Raspberry Pi Kernel Maintenance" , "Sandy Huang" , "Sascha Hauer" , "Shawn Guo" , "Simona Vetter" , "Stefan Agner" , "Sumit Semwal" , "Thierry Reding" , "Thomas Zimmermann" , "Tian Tao" , "Xinliang Liu" , "Xinwei Kong" , "Yannick Fertre" , "Yongqin Liu" Content-Transfer-Encoding: 7bit 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, 5 Feb 2025 15:08:00 -0500, Anusha Srivatsa wrote: > Replace platform_get_resource + devm_ioremap_resource > with just devm_platform_ioremap_resource() > > Used Coccinelle to do this change. SmPl patch: > @rule_1@ > > [ ... ] Reviewed-by: Maxime Ripard Thanks! Maxime