From f4bf03d8b7fbd3e2d38d895a89c53df039976fd0 Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Mon, 4 Apr 2011 16:23:20 +0200 Subject: ARM: imx: remove #includes already available from devices-common.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most machine files include "devices-imxXX.h" which in turn includes . The latter already includes many headers that the machine files don't need to include again. These were found by: $ grep \#include arch/arm/plat-mxc/include/mach/devices-common.h > tmpfile $ git grep -l 'devices-imx' arch/arm | xargs grep -f tmpfile -F (but I kept linux/init.h, linux/kernel.h and linux/platform_device.h) LAKML-Reference: 1298912674-15153-2-git-send-email-u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c | 2 -- arch/arm/mach-mx3/mach-bug.c | 1 - arch/arm/mach-mx3/mach-cpuimx35.c | 1 - arch/arm/mach-mx3/mach-mx31_3ds.c | 1 - arch/arm/mach-mx3/mach-mx31moboard.c | 1 - arch/arm/mach-mx3/mach-pcm037_eet.c | 1 - arch/arm/mach-mx3/mach-pcm043.c | 1 - arch/arm/mach-mx3/mach-vpr200.c | 1 - arch/arm/mach-mx3/mx31moboard-marxbot.c | 1 - 9 files changed, 10 deletions(-) (limited to 'arch/arm/mach-mx3') diff --git a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c index 63981ca8fc31..f61b2a923826 100644 --- a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c +++ b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c @@ -37,12 +37,10 @@ #include #include -#include #include #include #include #include -#include #include "devices-imx35.h" #include "devices.h" diff --git a/arch/arm/mach-mx3/mach-bug.c b/arch/arm/mach-mx3/mach-bug.c index d137d7078ee9..42e4f078a19c 100644 --- a/arch/arm/mach-mx3/mach-bug.c +++ b/arch/arm/mach-mx3/mach-bug.c @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/arch/arm/mach-mx3/mach-cpuimx35.c b/arch/arm/mach-mx3/mach-cpuimx35.c index ec63d998f647..ae13fd73a810 100644 --- a/arch/arm/mach-mx3/mach-cpuimx35.c +++ b/arch/arm/mach-mx3/mach-cpuimx35.c @@ -41,7 +41,6 @@ #include #include #include -#include #include "devices-imx35.h" #include "devices.h" diff --git a/arch/arm/mach-mx3/mach-mx31_3ds.c b/arch/arm/mach-mx3/mach-mx31_3ds.c index 034be624d35c..477b2d274396 100644 --- a/arch/arm/mach-mx3/mach-mx31_3ds.c +++ b/arch/arm/mach-mx3/mach-mx31_3ds.c @@ -39,7 +39,6 @@ #include #include #include -#include #include #include #include diff --git a/arch/arm/mach-mx3/mach-mx31moboard.c b/arch/arm/mach-mx3/mach-mx31moboard.c index 3a021b01161d..9c163146071d 100644 --- a/arch/arm/mach-mx3/mach-mx31moboard.c +++ b/arch/arm/mach-mx3/mach-mx31moboard.c @@ -41,7 +41,6 @@ #include #include #include -#include #include #include "devices-imx31.h" diff --git a/arch/arm/mach-mx3/mach-pcm037_eet.c b/arch/arm/mach-mx3/mach-pcm037_eet.c index 3f81e357affb..20861d797841 100644 --- a/arch/arm/mach-mx3/mach-pcm037_eet.c +++ b/arch/arm/mach-mx3/mach-pcm037_eet.c @@ -13,7 +13,6 @@ #include #include -#include #include diff --git a/arch/arm/mach-mx3/mach-pcm043.c b/arch/arm/mach-mx3/mach-pcm043.c index 036ba1a4704b..9caf38be3928 100644 --- a/arch/arm/mach-mx3/mach-pcm043.c +++ b/arch/arm/mach-mx3/mach-pcm043.c @@ -40,7 +40,6 @@ #include #include #include -#include #include "devices-imx35.h" #include "devices.h" diff --git a/arch/arm/mach-mx3/mach-vpr200.c b/arch/arm/mach-mx3/mach-vpr200.c index d7d190eacdcd..dab34c508256 100644 --- a/arch/arm/mach-mx3/mach-vpr200.c +++ b/arch/arm/mach-mx3/mach-vpr200.c @@ -38,7 +38,6 @@ #include #include #include -#include #include "devices-imx35.h" #include "devices.h" diff --git a/arch/arm/mach-mx3/mx31moboard-marxbot.c b/arch/arm/mach-mx3/mx31moboard-marxbot.c index 57f7b00cb709..f3aa0ce497b2 100644 --- a/arch/arm/mach-mx3/mx31moboard-marxbot.c +++ b/arch/arm/mach-mx3/mx31moboard-marxbot.c @@ -26,7 +26,6 @@ #include #include -#include #include #include -- cgit v1.2.3