diff mbox series

[V2] ARM: imx: Remove unused includes on mach-imx6q.c

Message ID 1581660406-24463-1-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State Mainlined
Commit 709a80c1dbf1cc4e37dbb14dabc4436794e09a6d
Headers show
Series [V2] ARM: imx: Remove unused includes on mach-imx6q.c | expand

Commit Message

Anson Huang Feb. 14, 2020, 6:06 a.m. UTC
Many includes are NOT used on mach-imx6q.c now, remove them.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
Changes since V1:
	- linux/of.h can also be removed.
---
 arch/arm/mach-imx/mach-imx6q.c | 13 -------------
 1 file changed, 13 deletions(-)

Comments

Shawn Guo Feb. 17, 2020, 7:37 a.m. UTC | #1
On Fri, Feb 14, 2020 at 02:06:46PM +0800, Anson Huang wrote:
> Many includes are NOT used on mach-imx6q.c now, remove them.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c
index edd26e0..284bce1 100644
--- a/arch/arm/mach-imx/mach-imx6q.c
+++ b/arch/arm/mach-imx/mach-imx6q.c
@@ -5,29 +5,16 @@ 
  */
 
 #include <linux/clk.h>
-#include <linux/clkdev.h>
-#include <linux/cpu.h>
-#include <linux/delay.h>
-#include <linux/export.h>
-#include <linux/init.h>
-#include <linux/io.h>
-#include <linux/irq.h>
 #include <linux/irqchip.h>
-#include <linux/of.h>
-#include <linux/of_address.h>
-#include <linux/of_irq.h>
 #include <linux/of_platform.h>
-#include <linux/pm_opp.h>
 #include <linux/pci.h>
 #include <linux/phy.h>
-#include <linux/reboot.h>
 #include <linux/regmap.h>
 #include <linux/micrel_phy.h>
 #include <linux/mfd/syscon.h>
 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
-#include <asm/system_misc.h>
 
 #include "common.h"
 #include "cpuidle.h"