diff mbox

[RESEND] ARM: LPC32xx: common.c: Remove unnecessary header inclusion

Message ID 002a01cf2790$3e2d6510$ba882f30$%han@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jingoo Han Feb. 12, 2014, 1:17 a.m. UTC
common.c includes some header files that are not really used.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
Compile-tested only.

 arch/arm/mach-lpc32xx/common.c |    6 ------
 1 file changed, 6 deletions(-)

Comments

Roland Stigge Feb. 12, 2014, 3:51 p.m. UTC | #1
On 12/02/14 02:17, Jingoo Han wrote:
> common.c includes some header files that are not really used.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
> ---
> Compile-tested only.
> 
>  arch/arm/mach-lpc32xx/common.c |    6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/arch/arm/mach-lpc32xx/common.c b/arch/arm/mach-lpc32xx/common.c
> index d7aa54c..9713c8b 100644
> --- a/arch/arm/mach-lpc32xx/common.c
> +++ b/arch/arm/mach-lpc32xx/common.c
> @@ -17,12 +17,6 @@
>   */
>  
>  #include <linux/init.h>
> -#include <linux/platform_device.h>
> -#include <linux/interrupt.h>
> -#include <linux/irq.h>
> -#include <linux/err.h>
> -#include <linux/i2c.h>
> -#include <linux/i2c-pnx.h>
>  #include <linux/io.h>
>  
>  #include <asm/mach/map.h>
> 

Acked-by: Roland Stigge <stigge@antcom.de>
diff mbox

Patch

diff --git a/arch/arm/mach-lpc32xx/common.c b/arch/arm/mach-lpc32xx/common.c
index d7aa54c..9713c8b 100644
--- a/arch/arm/mach-lpc32xx/common.c
+++ b/arch/arm/mach-lpc32xx/common.c
@@ -17,12 +17,6 @@ 
  */
 
 #include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/interrupt.h>
-#include <linux/irq.h>
-#include <linux/err.h>
-#include <linux/i2c.h>
-#include <linux/i2c-pnx.h>
 #include <linux/io.h>
 
 #include <asm/mach/map.h>