From patchwork Mon Jul 17 22:55:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13318123 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 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 64E15C0015E for ; Wed, 19 Jul 2023 05:00:14 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=tKBulRTIjx3PWfwDwl01DJUr+6s8xIj4TGqkKwZaH+M=; b=lVkUIeaQtJbLJo p6EXVCqOjlLcNfNjKyjRVulPJH4z7xbvDY98WB6RLvWZWnvT7sJ8VninMeVTyDgX80tBEqaoJ1CVi JKSOPjRzQmpgWTKbS35HpB6HRydgRAJvOdyqL9irRXab+as7nnovcgPpL7GjWnwIIpo5h2jMB53iZ tK4eQQKu7UzcHQrImdqM8OOrSnQ98YAJsWWj5G9XMMsePPwzu+JJ0IlBLIL0tBqfwBEA6W98i+RVr 6VdnlsSAFcMvfVoG1oLa0EUereaGQ5+RWQTB8GnDRkdG5wLQYrzRdO4ISFu1KYsyWctrG8bV5CIF7 e1ePqQTPAaG5iJPyQ6hA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qLzI6-0056iA-2f; Wed, 19 Jul 2023 04:59:58 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLzI5-0056hY-2F for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2023 04:59:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=hT/oIENIoqYi0eIywcxfu0xAtq7G7ny48+GyOMOODF8=; b=LOzF8NaGJYJgF7+cCHHc0gpnew 2fkZYpix7Xi97w1mBiXfGrDNpaY8ktmbMf1l9QTAOc3/FQXFOclOEa/spGa4Gue6aIoTlSHGdWnAM wkmsqDbr9F9/ea9J6MxjejyZ/XlJCSJa3DfMSdGSY4RSl4P6Y3QxwouIorshLVmWF73PCUjZ1Wg+J Zdr1fyrYqPk0yV05+Ln5B9UnkX1OAKtZtuCobgG2Kek6HCcOJKQsQiI1LZsIRmf6pEAeSvcoBbk/K kjQhcSqybqHYG3J1Isse60BnzI/cWmGPEgKHEzW00T27U7Ye2ocg6JC9nKdmJoEObJRcAVyRrAYxj SBE3v2Xw==; Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLXFJ-009REF-1P for linux-arm-kernel@lists.infradead.org; Mon, 17 Jul 2023 23:06:24 +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 84D42612D3; Mon, 17 Jul 2023 22:59:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04C8DC433C7; Mon, 17 Jul 2023 22:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689634782; bh=dTo5XNATzzM/tfQRUvE1uGXA7s6gfipA/USyd9LnlKU=; h=From:To:Cc:Subject:Date:From; b=Pj2Nqs6gs1cnoiUXf5HhUD6GMmRBbIPuUF0WRBAOsS+hoxLCY3R4AQmQHoE8bdU9L hVRq3+GNkHAPAZ6TrC7fnVke+VZw03371U/UM4NVEoFgGCEIyY96RzKeu2FVl/vq9/ +mSozoyUQaR0pM1YCT3uKBXKZZStcs0j2TJ492GpUWKqT8uIQlUFuqsN+LaWHhvKWU CTvFz6EabTfhGmf965y2DgKjQwSSYlrQDvjemGU4CuSuRnT1EA7+FbHLb3E0SUp1t8 UOS322okJje3VACKNaAHoJ4koXZgmnSCAt2MEYAF2V1/LxbTCSD5amIA4DCUhVTXJB ASIVMoJ0KuFpg== Received: (nullmailer pid 3212409 invoked by uid 1000); Mon, 17 Jul 2023 22:55:10 -0000 From: Rob Herring To: Russell King , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: imx: Drop unused includes Date: Mon, 17 Jul 2023 16:55:04 -0600 Message-Id: <20230717225505.3212231-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Several includes are not needed, so drop them. of_platform.h (for now) implicitly includes platform_device.h and of.h, so add explicit includes of those as needed. Signed-off-by: Rob Herring --- arch/arm/mach-imx/mach-imx1.c | 4 ---- arch/arm/mach-imx/mach-imx25.c | 5 ----- arch/arm/mach-imx/mach-imx27.c | 6 ------ arch/arm/mach-imx/mach-imx35.c | 8 -------- arch/arm/mach-imx/mach-imx50.c | 1 - arch/arm/mach-imx/mach-imx51.c | 5 +---- arch/arm/mach-imx/mach-imx53.c | 8 -------- arch/arm/mach-imx/mach-imx6sx.c | 2 -- arch/arm/mach-imx/mach-imx6ul.c | 4 ---- arch/arm/mach-imx/mach-imx7d.c | 2 +- arch/arm/mach-imx/pm-imx5.c | 1 + arch/arm/mach-imx/pm-imx6.c | 1 + 12 files changed, 4 insertions(+), 43 deletions(-) diff --git a/arch/arm/mach-imx/mach-imx1.c b/arch/arm/mach-imx/mach-imx1.c index 8eca92d66a2e..a4688f575ffe 100644 --- a/arch/arm/mach-imx/mach-imx1.c +++ b/arch/arm/mach-imx/mach-imx1.c @@ -3,15 +3,11 @@ * Copyright (C) 2014 Alexander Shiyan */ -#include #include -#include #include "common.h" #include "hardware.h" -#define MX1_AVIC_ADDR 0x00223000 - static void __init imx1_init_early(void) { mxc_set_cpu_type(MXC_CPU_MX1); diff --git a/arch/arm/mach-imx/mach-imx25.c b/arch/arm/mach-imx/mach-imx25.c index 51927bd08aef..114df312a99a 100644 --- a/arch/arm/mach-imx/mach-imx25.c +++ b/arch/arm/mach-imx/mach-imx25.c @@ -3,12 +3,7 @@ * Copyright 2012 Sascha Hauer, Pengutronix */ -#include -#include -#include -#include #include -#include #include "common.h" #include "hardware.h" diff --git a/arch/arm/mach-imx/mach-imx27.c b/arch/arm/mach-imx/mach-imx27.c index e325c9468105..ada84fe8a1fd 100644 --- a/arch/arm/mach-imx/mach-imx27.c +++ b/arch/arm/mach-imx/mach-imx27.c @@ -4,14 +4,8 @@ */ #include -#include -#include -#include -#include -#include #include #include -#include #include "common.h" #include "hardware.h" diff --git a/arch/arm/mach-imx/mach-imx35.c b/arch/arm/mach-imx/mach-imx35.c index 0fc08218b77d..35dbc719fb6d 100644 --- a/arch/arm/mach-imx/mach-imx35.c +++ b/arch/arm/mach-imx/mach-imx35.c @@ -5,15 +5,7 @@ * based on imx27-dt.c */ -#include -#include -#include -#include -#include -#include #include -#include -#include #include "common.h" #include "mx35.h" diff --git a/arch/arm/mach-imx/mach-imx50.c b/arch/arm/mach-imx/mach-imx50.c index a2d35f9ba474..9dc9d0ae9342 100644 --- a/arch/arm/mach-imx/mach-imx50.c +++ b/arch/arm/mach-imx/mach-imx50.c @@ -5,7 +5,6 @@ * Copyright 2011 Linaro Ltd. */ -#include #include #include "common.h" diff --git a/arch/arm/mach-imx/mach-imx51.c b/arch/arm/mach-imx/mach-imx51.c index 8b748a1854d7..510801f6f71c 100644 --- a/arch/arm/mach-imx/mach-imx51.c +++ b/arch/arm/mach-imx/mach-imx51.c @@ -5,12 +5,9 @@ */ #include -#include +#include #include -#include -#include #include -#include #include "common.h" #include "hardware.h" diff --git a/arch/arm/mach-imx/mach-imx53.c b/arch/arm/mach-imx/mach-imx53.c index 8223c5aee45d..6622406e0081 100644 --- a/arch/arm/mach-imx/mach-imx53.c +++ b/arch/arm/mach-imx/mach-imx53.c @@ -4,15 +4,7 @@ * Copyright 2011 Linaro Ltd. */ -#include -#include -#include -#include -#include -#include -#include #include -#include #include "common.h" #include "hardware.h" diff --git a/arch/arm/mach-imx/mach-imx6sx.c b/arch/arm/mach-imx/mach-imx6sx.c index e65ed5218f53..9ababf4ac210 100644 --- a/arch/arm/mach-imx/mach-imx6sx.c +++ b/arch/arm/mach-imx/mach-imx6sx.c @@ -5,12 +5,10 @@ #include #include -#include #include #include #include #include -#include #include "common.h" #include "cpuidle.h" diff --git a/arch/arm/mach-imx/mach-imx6ul.c b/arch/arm/mach-imx/mach-imx6ul.c index 7a0299de1db6..cb6d29c2bb5f 100644 --- a/arch/arm/mach-imx/mach-imx6ul.c +++ b/arch/arm/mach-imx/mach-imx6ul.c @@ -3,12 +3,8 @@ * Copyright (C) 2015 Freescale Semiconductor, Inc. */ #include -#include #include -#include -#include #include -#include #include "common.h" #include "cpuidle.h" diff --git a/arch/arm/mach-imx/mach-imx7d.c b/arch/arm/mach-imx/mach-imx7d.c index 6fdd06bcf988..9587885fb1ac 100644 --- a/arch/arm/mach-imx/mach-imx7d.c +++ b/arch/arm/mach-imx/mach-imx7d.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include diff --git a/arch/arm/mach-imx/pm-imx5.c b/arch/arm/mach-imx/pm-imx5.c index 2e3af2bc7758..6f0de45b71e9 100644 --- a/arch/arm/mach-imx/pm-imx5.c +++ b/arch/arm/mach-imx/pm-imx5.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-imx/pm-imx6.c b/arch/arm/mach-imx/pm-imx6.c index 045b9fdd342d..b36f05b54cc7 100644 --- a/arch/arm/mach-imx/pm-imx6.c +++ b/arch/arm/mach-imx/pm-imx6.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include