diff mbox

[1/1] i2c: s3c2410: Trivial cleanup in header file

Message ID 1392359490-9834-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Feb. 14, 2014, 6:31 a.m. UTC
Commit 436d42c61c3e ("ARM: samsung: move platform_data definitions")
moved the files to the current location but forgot to remove the pointer
to its previous location. Clean it up. While at it also change the header
file protection macros appropriately.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 include/linux/platform_data/i2c-s3c2410.h |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Comments

Sachin Kamat March 10, 2014, 3:25 p.m. UTC | #1
On 14 February 2014 12:01, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Commit 436d42c61c3e ("ARM: samsung: move platform_data definitions")
> moved the files to the current location but forgot to remove the pointer
> to its previous location. Clean it up. While at it also change the header
> file protection macros appropriately.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  include/linux/platform_data/i2c-s3c2410.h |    9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/include/linux/platform_data/i2c-s3c2410.h b/include/linux/platform_data/i2c-s3c2410.h
> index 2a50048c1c44..05af66b840b9 100644
> --- a/include/linux/platform_data/i2c-s3c2410.h
> +++ b/include/linux/platform_data/i2c-s3c2410.h
> @@ -1,5 +1,4 @@
> -/* arch/arm/plat-s3c/include/plat/iic.h
> - *
> +/*
>   * Copyright 2004-2009 Simtec Electronics
>   *     Ben Dooks <ben@simtec.co.uk>
>   *
> @@ -10,8 +9,8 @@
>   * published by the Free Software Foundation.
>  */
>
> -#ifndef __ASM_ARCH_IIC_H
> -#define __ASM_ARCH_IIC_H __FILE__
> +#ifndef __I2C_S3C2410_H
> +#define __I2C_S3C2410_H __FILE__
>
>  #define S3C_IICFLG_FILTER      (1<<0)  /* enable s3c2440 filter */
>
> @@ -76,4 +75,4 @@ extern void s3c_i2c7_cfg_gpio(struct platform_device *dev);
>
>  extern struct s3c2410_platform_i2c default_i2c_data;
>
> -#endif /* __ASM_ARCH_IIC_H */
> +#endif /* __I2C_S3C2410_H */
> --
> 1.7.9.5
>

 Ping..
Wolfram Sang March 10, 2014, 4:33 p.m. UTC | #2
On Fri, Feb 14, 2014 at 12:01:30PM +0530, Sachin Kamat wrote:
> Commit 436d42c61c3e ("ARM: samsung: move platform_data definitions")
> moved the files to the current location but forgot to remove the pointer
> to its previous location. Clean it up. While at it also change the header
> file protection macros appropriately.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Applied to for-next, thanks!
diff mbox

Patch

diff --git a/include/linux/platform_data/i2c-s3c2410.h b/include/linux/platform_data/i2c-s3c2410.h
index 2a50048c1c44..05af66b840b9 100644
--- a/include/linux/platform_data/i2c-s3c2410.h
+++ b/include/linux/platform_data/i2c-s3c2410.h
@@ -1,5 +1,4 @@ 
-/* arch/arm/plat-s3c/include/plat/iic.h
- *
+/*
  * Copyright 2004-2009 Simtec Electronics
  *	Ben Dooks <ben@simtec.co.uk>
  *
@@ -10,8 +9,8 @@ 
  * published by the Free Software Foundation.
 */
 
-#ifndef __ASM_ARCH_IIC_H
-#define __ASM_ARCH_IIC_H __FILE__
+#ifndef __I2C_S3C2410_H
+#define __I2C_S3C2410_H __FILE__
 
 #define S3C_IICFLG_FILTER	(1<<0)	/* enable s3c2440 filter */
 
@@ -76,4 +75,4 @@  extern void s3c_i2c7_cfg_gpio(struct platform_device *dev);
 
 extern struct s3c2410_platform_i2c default_i2c_data;
 
-#endif /* __ASM_ARCH_IIC_H */
+#endif /* __I2C_S3C2410_H */