ARM: rockchip: Drop unused includes
authorRob Herring <robh@kernel.org>
Thu, 3 Aug 2023 22:42:52 +0000 (16:42 -0600)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 Aug 2023 08:31:00 +0000 (10:31 +0200)
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>
Link: https://lore.kernel.org/r/20230803-dt-header-cleanups-for-soc-v2-12-d8de2cc88bff@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-rockchip/rockchip.c

index beea456..82102fb 100644 (file)
@@ -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"