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 A0A46C02196 for ; Thu, 6 Feb 2025 14:15:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 13A9C10E86D; Thu, 6 Feb 2025 14:15:54 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Tw26qhXb"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5D75510E86B for ; Thu, 6 Feb 2025 14:15:53 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id ACF595C5FB1; Thu, 6 Feb 2025 14:15:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2AD1C4CEDF; Thu, 6 Feb 2025 14:15:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738851352; bh=rcqJkuQ2HFzZga9D7cWTaXV3gW0ZCzU6MCc8Sw5hnyI=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=Tw26qhXbWI9iCvq7HWmZ+4tYuAvjyk3PNd0H5/RHxQbAHk3EHoktkmDnp5hHUKNkE uXYtRJT8jv+nPZbdOaOPt8vcabrmRLHjVcJJblnVV3QoJbk7Flec/hEAfPFUUTH8z6 0jv8puc8+Qs2HLtihZHxlJKd2V6YatltV3ABPfOfT2YoYHEEQbelrqkyTQQOUgvnIB iQD8DrJj53nVVEQQ6vKT1V4zR87O2x4mx1btTdfDGck0ndnt7NevNRM/BWj/aCIU0W KGEyIlYD2VBin/BbbCTKxsuCGOL42lbvsBLOl2xELvoALwjfEimg+mCrfsTrYJJgy8 F2kZWWWe+Jqhg== Message-ID: Date: Thu, 06 Feb 2025 14:15:49 +0000 From: "Maxime Ripard" To: "Anusha Srivatsa" Subject: Re: [PATCH 06/12] drm/sprd: move to devm_platform_ioremap_resource() usage In-Reply-To: <20250205-mem-cocci-newapi-v1-6-aebf2b0e2300@redhat.com> References: <20250205-mem-cocci-newapi-v1-6-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" , "Dmitry Baryshkov" , "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:02 -0500, Anusha Srivatsa wrote: > Replace platform_get_resource + devm_ioremap > with just devm_platform_ioremap_resource() > > Used Coccinelle to do this change. SmPl patch: > @rule_2@ > > [ ... ] Reviewed-by: Maxime Ripard Thanks! Maxime