ARM: bcm: Drop unused includes
authorRob Herring <robh@kernel.org>
Mon, 17 Jul 2023 22:57:03 +0000 (16:57 -0600)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Fri, 21 Jul 2023 17:01:47 +0000 (10:01 -0700)
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>
Link: https://lore.kernel.org/r/20230717225704.3215469-1-robh@kernel.org
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm/mach-bcm/bcm_5301x.c
arch/arm/mach-bcm/board_bcm23550.c
arch/arm/mach-bcm/brcmstb.c
arch/arm/mach-bcm/platsmp-brcmstb.c

index fe067f6cebb6de876602615b380ec8e414e001cf..cd29496da1ea4fa435f7977d88718b8c121afb21 100644 (file)
@@ -5,8 +5,6 @@
  *
  * Licensed under the GNU/GPL. See COPYING for details.
  */
-#include <linux/of_platform.h>
-#include <asm/hardware/cache-l2x0.h>
 
 #include <asm/mach/arch.h>
 #include <asm/siginfo.h>
index dd6e9cb785e0567a6902d827297fdd2a725620b1..3784b7372ad8afd3f07c483e99ff5ca4450bc4aa 100644 (file)
@@ -1,8 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 // Copyright (C) 2016 Broadcom
 
-#include <linux/of_platform.h>
-
 #include <asm/mach/arch.h>
 
 static const char * const bcm23550_dt_compat[] = {
index 2e3385ced82a1c3ea63baa3eedb4b0855fda2a83..43bc98e388bff758fbdd104bef3f7627a0b13e13 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <linux/init.h>
 #include <linux/irqchip.h>
-#include <linux/of_platform.h>
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
index 8989299ebdd639d43a2377641f11c3df97397c6e..07aeda1d66a8cfb2437e9f02667c4e0cac239889 100644 (file)
@@ -10,8 +10,8 @@
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/jiffies.h>
+#include <linux/of.h>
 #include <linux/of_address.h>
-#include <linux/of_platform.h>
 #include <linux/printk.h>
 #include <linux/regmap.h>
 #include <linux/smp.h>