summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Zapolskiy2019-04-19 21:55:26 +0200
committerVladimir Zapolskiy2019-04-19 21:59:16 +0200
commita1e65c28f6022e3aee33210335940ae7be6670e7 (patch)
tree938cca8af2220ba2f7a5c2ae744f3e833eed9081
parentARM: lpc32xx: stop overwriting TEST_CLK_SEL (diff)
downloadkernel-qcow2-linux-a1e65c28f6022e3aee33210335940ae7be6670e7.tar.gz
kernel-qcow2-linux-a1e65c28f6022e3aee33210335940ae7be6670e7.tar.xz
kernel-qcow2-linux-a1e65c28f6022e3aee33210335940ae7be6670e7.zip
ARM: lpc32xx: remove redundant included headers
While the majority of platform data was moved to device tree description the list of included header files remained untouched, the change cleans it up to an irreducible and observable subset. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
-rw-r--r--arch/arm/mach-lpc32xx/phy3250.c24
1 files changed, 2 insertions, 22 deletions
diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c
index a77d2cfd4aae..4d88581e95f0 100644
--- a/arch/arm/mach-lpc32xx/phy3250.c
+++ b/arch/arm/mach-lpc32xx/phy3250.c
@@ -17,32 +17,12 @@
* GNU General Public License for more details.
*/
-#include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/device.h>
-#include <linux/interrupt.h>
-#include <linux/irq.h>
-#include <linux/dma-mapping.h>
-#include <linux/gpio.h>
-#include <linux/amba/bus.h>
-#include <linux/amba/clcd.h>
#include <linux/amba/pl08x.h>
-#include <linux/amba/mmci.h>
-#include <linux/of.h>
-#include <linux/of_address.h>
-#include <linux/of_irq.h>
-#include <linux/of_platform.h>
-#include <linux/clk.h>
-#include <linux/mtd/lpc32xx_slc.h>
#include <linux/mtd/lpc32xx_mlc.h>
+#include <linux/mtd/lpc32xx_slc.h>
+#include <linux/of_platform.h>
-#include <asm/setup.h>
-#include <asm/mach-types.h>
#include <asm/mach/arch.h>
-
-#include <mach/hardware.h>
-#include <mach/platform.h>
-#include <mach/board.h>
#include "common.h"
static struct pl08x_channel_data pl08x_slave_channels[] = {