2020-02-14 06:14:08

by Anson Huang

[permalink] [raw]
Subject: [PATCH V2] ARM: imx: Remove unused includes on mach-imx6q.c

Many includes are NOT used on mach-imx6q.c now, remove them.

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

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"
--
2.7.4


2020-02-17 07:39:25

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH V2] ARM: imx: Remove unused includes on mach-imx6q.c

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 <[email protected]>

Applied, thanks.