Message ID | 20230803-dt-header-cleanups-for-soc-v2-12-d8de2cc88bff@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 06806C00528 for <linux-rockchip@archiver.kernel.org>; Thu, 3 Aug 2023 22:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=He3A/4GzOAst98rl9FBENKBNSZswnjGYi0AIUpLQnhk=; b=H9knRE6ENJsscw 0dy1C52J1aVzdVxM2XQadpScUUyJ9bQUeTNvtmXnPfaFUnb5bt85jVLdeIP0e+Df4BN42h/ujO2XE Dfyt6V1IBSGEmlZnjOw1FWG8e8OeZhxMB9VqyN18Mzfv8aZ4G2LAeUzk3hNOzzQE92vkfkvS+vK4j 8tAejk7S6K8RijAVPSyNiFEeBLPnINTpHbMnyyK2BOKXXr0uWv9NDszwZq8muj/QteLbfjkGUY1R0 eyc5isiZVtOjX/M9O/a7US0w/JGG+F9Go5+njI/M6jgfL1T8NnGm+C7bq0qzbmj1eIcI+NlD3MW2Y fUdLfDk8vTDDva2Ggi0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRh33-00B0vZ-1x; Thu, 03 Aug 2023 22:44:01 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRh2z-00B0su-1j; Thu, 03 Aug 2023 22:43:58 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0F3D361EE8; Thu, 3 Aug 2023 22:43:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87CD4C433CB; Thu, 3 Aug 2023 22:43:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691102636; bh=WEop4A58QX4APZMWFjwJZzVIMTZ/gj08MS46QbUH+O0=; h=From:Date:Subject:References:In-Reply-To:List-Id:To:Cc:From; b=Y+fqhLiO2N/3BIklSvPdj/3t54A2SO538v+THGRbWVdvrUdGXZkj9WCwWnEuC0rEH gespuBRA1xL7TJzPYt9CmeUEwG3xYjmef8Rb4DEjSgWcOgDeFlEAY2jwvCv9m00aXo PLlSOTcuF6lC84+jzDl5/46+egAsK5JdtN5875Xuoo83Y2+DmsZ9d4ZKdMXl+ZX1x/ 7wHD/36vNZJIW7Rr8FXoSPr/zewqMGfwlaqrdr8EQyf7FhKNw8k0gYCrLoOa1aDpBL sUliGqGD8tuuqRANpQZf9EPXsOzBTK7xqFPGCTevIxAs/OuwMBdtUH6+9y05tKEHt0 I8fTDYtjOEDSQ== Received: (nullmailer pid 3693774 invoked by uid 1000); Thu, 03 Aug 2023 22:42:55 -0000 From: Rob Herring <robh@kernel.org> Date: Thu, 03 Aug 2023 16:42:52 -0600 Subject: [PATCH v2 12/23] ARM: rockchip: Drop unused includes MIME-Version: 1.0 Message-Id: <20230803-dt-header-cleanups-for-soc-v2-12-d8de2cc88bff@kernel.org> References: <20230803-dt-header-cleanups-for-soc-v2-0-d8de2cc88bff@kernel.org> In-Reply-To: <20230803-dt-header-cleanups-for-soc-v2-0-d8de2cc88bff@kernel.org> To: soc@kernel.org, Patrice Chotard <patrice.chotard@foss.st.com>, Tsahee Zidenberg <tsahee@annapurnalabs.com>, Antoine Tenart <atenart@kernel.org>, Jisheng Zhang <jszhang@kernel.org>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Jean-Marie Verdun <verdun@hpe.com>, Nick Hawkins <nick.hawkins@hpe.com>, Lubomir Rintel <lkundrak@v3.sk>, Linus Walleij <linus.walleij@linaro.org>, Avi Fishman <avifishman70@gmail.com>, Tomer Maimon <tmaimon77@gmail.com>, Tali Perry <tali.perry1@gmail.com>, Patrick Venture <venture@google.com>, Nancy Yuen <yuenn@google.com>, Benjamin Fair <benjaminfair@google.com>, Daniel Mack <daniel@zonque.org>, Haojian Zhuang <haojian.zhuang@gmail.com>, Robert Jarzmik <robert.jarzmik@free.fr>, Heiko Stuebner <heiko@sntech.de>, Liviu Dudau <liviu.dudau@arm.com>, Sudeep Holla <sudeep.holla@arm.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, Viresh Kumar <vireshk@kernel.org>, Shiraz Has him <shiraz.linux.kernel@gmail.com>, Stuart Yoder <stuyoder@gmail.com>, Laurentiu Tudor <laurentiu.tudor@nxp.com>, Jay Fang <f.fangjian@huawei.com>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Cristian Marussi <cristian.marussi@arm.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Florian Fainelli <florian.fainelli@broadcom.com>, Dinh Nguyen <dinguyen@kernel.org>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Michal Simek <michal.simek@amd.com>, Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>, Ulf Hansson <ulf.hansson@linaro.org>, Li Yang <leoyang.li@nxp.com>, Qiang Zhao <qiang.zhao@nxp.com> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-pm@vger.kernel.org X-Mailer: b4 0.13-dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230803_154357_659035_F949C2E5 X-CRM114-Status: GOOD ( 12.85 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
Series |
ARM: DT include cleanups
|
expand
|
Am Freitag, 4. August 2023, 00:42:52 CEST schrieb Rob Herring: > Several includes are not needed, so drop them. > > of_platform.h is not needed, but it implicitly includes of.h which is > needed. > > Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Heiko Stuebner <heiko@sntech.de>
diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c index beea4564eed4..82102fbabf92 100644 --- a/arch/arm/mach-rockchip/rockchip.c +++ b/arch/arm/mach-rockchip/rockchip.c @@ -9,15 +9,11 @@ #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> +#include <linux/of.h> #include <linux/of_clk.h> -#include <linux/of_platform.h> -#include <linux/irqchip.h> #include <linux/clocksource.h> -#include <linux/mfd/syscon.h> -#include <linux/regmap.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> -#include <asm/hardware/cache-l2x0.h> #include "core.h" #include "pm.h"
Several includes are not needed, so drop them. of_platform.h is not needed, but it implicitly includes of.h which is needed. Signed-off-by: Rob Herring <robh@kernel.org> --- arch/arm/mach-rockchip/rockchip.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)