* [PATCH 1/1] leds: leds-s3c24xx: Trivial cleanup in header file
@ 2014-02-14 6:37 Sachin Kamat
2014-02-27 17:57 ` Bryan Wu
0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2014-02-14 6:37 UTC (permalink / raw)
To: linux-leds; +Cc: cooloney, trivial, sachin.kamat
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/leds-s3c24xx.h | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/include/linux/platform_data/leds-s3c24xx.h b/include/linux/platform_data/leds-s3c24xx.h
index d8a7672519b6..441a6f290649 100644
--- a/include/linux/platform_data/leds-s3c24xx.h
+++ b/include/linux/platform_data/leds-s3c24xx.h
@@ -1,5 +1,4 @@
-/* arch/arm/mach-s3c2410/include/mach/leds-gpio.h
- *
+/*
* Copyright (c) 2006 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
@@ -11,8 +10,8 @@
* published by the Free Software Foundation.
*/
-#ifndef __ASM_ARCH_LEDSGPIO_H
-#define __ASM_ARCH_LEDSGPIO_H "leds-gpio.h"
+#ifndef __LEDS_S3C24XX_H
+#define __LEDS_S3C24XX_H
#define S3C24XX_LEDF_ACTLOW (1<<0) /* LED is on when GPIO low */
#define S3C24XX_LEDF_TRISTATE (1<<1) /* tristate to turn off */
@@ -25,4 +24,4 @@ struct s3c24xx_led_platdata {
char *def_trigger;
};
-#endif /* __ASM_ARCH_LEDSGPIO_H */
+#endif /* __LEDS_S3C24XX_H */
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] leds: leds-s3c24xx: Trivial cleanup in header file
2014-02-14 6:37 [PATCH 1/1] leds: leds-s3c24xx: Trivial cleanup in header file Sachin Kamat
@ 2014-02-27 17:57 ` Bryan Wu
0 siblings, 0 replies; 2+ messages in thread
From: Bryan Wu @ 2014-02-27 17:57 UTC (permalink / raw)
To: Sachin Kamat; +Cc: Linux LED Subsystem, Jiri Kosina
On Thu, Feb 13, 2014 at 10:37 PM, 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.
>
Thanks, merged.
-Bryan
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
> include/linux/platform_data/leds-s3c24xx.h | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/include/linux/platform_data/leds-s3c24xx.h b/include/linux/platform_data/leds-s3c24xx.h
> index d8a7672519b6..441a6f290649 100644
> --- a/include/linux/platform_data/leds-s3c24xx.h
> +++ b/include/linux/platform_data/leds-s3c24xx.h
> @@ -1,5 +1,4 @@
> -/* arch/arm/mach-s3c2410/include/mach/leds-gpio.h
> - *
> +/*
> * Copyright (c) 2006 Simtec Electronics
> * http://armlinux.simtec.co.uk/
> * Ben Dooks <ben@simtec.co.uk>
> @@ -11,8 +10,8 @@
> * published by the Free Software Foundation.
> */
>
> -#ifndef __ASM_ARCH_LEDSGPIO_H
> -#define __ASM_ARCH_LEDSGPIO_H "leds-gpio.h"
> +#ifndef __LEDS_S3C24XX_H
> +#define __LEDS_S3C24XX_H
>
> #define S3C24XX_LEDF_ACTLOW (1<<0) /* LED is on when GPIO low */
> #define S3C24XX_LEDF_TRISTATE (1<<1) /* tristate to turn off */
> @@ -25,4 +24,4 @@ struct s3c24xx_led_platdata {
> char *def_trigger;
> };
>
> -#endif /* __ASM_ARCH_LEDSGPIO_H */
> +#endif /* __LEDS_S3C24XX_H */
> --
> 1.7.9.5
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-27 17:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14 6:37 [PATCH 1/1] leds: leds-s3c24xx: Trivial cleanup in header file Sachin Kamat
2014-02-27 17:57 ` Bryan Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).