From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CE42224239; Wed, 26 Feb 2025 14:48:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740581298; cv=none; b=L6DOfSO0HOJ1Q1b7YV/VESHxEtWNHdfjqixFgPmqjQ78JJYvIgtXaPnEkIi987pRE3LSSjYVHe7MZkcCjAe8ePwlbQqRKccbKwq0/otpinh+DaMEx0wkiw8VRLaya1I6VSqGlObnKhQxq+N5t3JZJfptldbIQvt8FfwLMJUVfvA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740581298; c=relaxed/simple; bh=0v5WZmBpe5SBVBgT22KQI2o6QVoJJEH+p115jwbhoW0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Mjl6RPFMnLlSkdobD+t2BVGRqtq8fHGfwwAXXyEWosA9tkQ7Vmni4IQAlK/rAKE0vu1r0u1KbVPMWK1nZBTyeE/IRjVKVQejnPjFwB5FCIMFk+TV8gaGMhbp5BnIZNfW28ImyKJ6nv6VpT2RSNGBiwmJcy0AgHZV2XZHNW/miL8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WjJ45fyo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WjJ45fyo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8C33C4CED6; Wed, 26 Feb 2025 14:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740581298; bh=0v5WZmBpe5SBVBgT22KQI2o6QVoJJEH+p115jwbhoW0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WjJ45fyoUiA2qNtwcYoEem6dXH08tt8XAMrk1CpuF+An2j/4S+2f46koO2GAkdV8R JYft5MzZF0a6bLJ9QPzt4XXGMGPuM87TWOWMvKJjH41WR/+TrY9a/6xP8/DQpPV810 Fy81WKJpsAnEK3DXA84OhXYjjoPHGJpLq8qzpz52TJxByGYioi0gUkYjvT9ufO2yEQ oqIco61GTPPmWm/Rm1E5nFxFsRVN/JeMrh54MdhqWgQWs0PGdAEJmiPn1jtzsyyXac NzioW81PJzDCSdzm7ofCoYdIx8bRJ8pOEajsVM22JhPzA1gUnJSeQWju4dZrKRDl93 Q+085zq69n3Ng== From: Maxime Ripard To: Joel Stanley , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter , Andrew Jeffery , Stefan Agner , Alison Wang , Xinliang Liu , Tian Tao , Xinwei Kong , Sumit Semwal , Yongqin Liu , John Stultz , Chun-Kuang Hu , Philipp Zabel , Matthias Brugger , AngeloGioacchino Del Regno , Marek Vasut , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Orson Zhai , Baolin Wang , Chunyan Zhang , Alain Volmat , Raphael Gallais-Pou , Yannick Fertre , Raphael Gallais-Pou , Philippe Cornu , Maxime Coquelin , Alexandre Torgue , Thierry Reding , Mikko Perttunen , Jonathan Hunter , Alexey Brodkin , Dave Stevenson , =?UTF-8?q?Ma=C3=ADra=20Canal?= , Raspberry Pi Kernel Maintenance , Jonathan Corbet , Anusha Srivatsa Cc: Maxime Ripard , linux-aspeed@lists.ozlabs.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, imx@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: (subset) [PATCH RESEND 10/12] drm/tiny: move to devm_platform_ioremap_resource() usage Date: Wed, 26 Feb 2025 15:47:56 +0100 Message-ID: <174058126146.2737122.12919541255489679921.b4-ty@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250225-memory-drm-misc-next-v1-10-9d0e8761107a@redhat.com> References: <20250225-memory-drm-misc-next-v1-0-9d0e8761107a@redhat.com> <20250225-memory-drm-misc-next-v1-10-9d0e8761107a@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Tue, 25 Feb 2025 17:20:51 -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@ > identifier res; > expression ioremap_res; > identifier pdev; > @@ > -struct resource *res; > ... > -res = platform_get_resource(pdev,...); > -ioremap_res = devm_ioremap_resource(...); > +ioremap_res = devm_platform_ioremap_resource(pdev,0); > > [...] Applied to misc/kernel.git (drm-misc-next). Thanks! Maxime