linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Input: keypad-ep93xx - Cleanup header file
@ 2013-12-27 12:03 Sachin Kamat
  2013-12-27 12:03 ` [PATCH 2/2] Input: keypad-omap " Sachin Kamat
  0 siblings, 1 reply; 3+ messages in thread
From: Sachin Kamat @ 2013-12-27 12:03 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, dtor, sachin.kamat, patches

Commit a3b2924547a7 ("ARM: ep93xx: move platform_data definitions")
moved the file 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/keypad-ep93xx.h |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/include/linux/platform_data/keypad-ep93xx.h b/include/linux/platform_data/keypad-ep93xx.h
index 1e2f4e97f428..adccee25b162 100644
--- a/include/linux/platform_data/keypad-ep93xx.h
+++ b/include/linux/platform_data/keypad-ep93xx.h
@@ -1,9 +1,5 @@
-/*
- * arch/arm/mach-ep93xx/include/mach/ep93xx_keypad.h
- */
-
-#ifndef __ASM_ARCH_EP93XX_KEYPAD_H
-#define __ASM_ARCH_EP93XX_KEYPAD_H
+#ifndef __KEYPAD_EP93XX_H
+#define __KEYPAD_EP93XX_H
 
 struct matrix_keymap_data;
 
@@ -32,4 +28,4 @@ struct ep93xx_keypad_platform_data {
 #define EP93XX_MATRIX_ROWS		(8)
 #define EP93XX_MATRIX_COLS		(8)
 
-#endif	/* __ASM_ARCH_EP93XX_KEYPAD_H */
+#endif	/* __KEYPAD_EP93XX_H */
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Input: keypad-omap - Cleanup header file
  2013-12-27 12:03 [PATCH 1/2] Input: keypad-ep93xx - Cleanup header file Sachin Kamat
@ 2013-12-27 12:03 ` Sachin Kamat
  2013-12-28  1:15   ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Sachin Kamat @ 2013-12-27 12:03 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, dtor, sachin.kamat, patches

Commit 2203747c9771 ("ARM: omap: move platform_data definitions")
moved the file 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/keypad-omap.h |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/include/linux/platform_data/keypad-omap.h b/include/linux/platform_data/keypad-omap.h
index a6b21eddb212..c3a3abae98f0 100644
--- a/include/linux/platform_data/keypad-omap.h
+++ b/include/linux/platform_data/keypad-omap.h
@@ -1,14 +1,12 @@
 /*
- *  arch/arm/plat-omap/include/mach/keypad.h
- *
  *  Copyright (C) 2006 Komal Shah <komal_shah802003@yahoo.com>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#ifndef ASMARM_ARCH_KEYPAD_H
-#define ASMARM_ARCH_KEYPAD_H
+#ifndef __KEYPAD_OMAP_H
+#define __KEYPAD_OMAP_H
 
 #ifndef CONFIG_ARCH_OMAP1
 #warning Please update the board to use matrix-keypad driver
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] Input: keypad-omap - Cleanup header file
  2013-12-27 12:03 ` [PATCH 2/2] Input: keypad-omap " Sachin Kamat
@ 2013-12-28  1:15   ` Dmitry Torokhov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2013-12-28  1:15 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-input, patches

On Fri, Dec 27, 2013 at 05:33:08PM +0530, Sachin Kamat wrote:
> Commit 2203747c9771 ("ARM: omap: move platform_data definitions")
> moved the file 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 both, thanks Sachin.

> ---
>  include/linux/platform_data/keypad-omap.h |    6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/include/linux/platform_data/keypad-omap.h b/include/linux/platform_data/keypad-omap.h
> index a6b21eddb212..c3a3abae98f0 100644
> --- a/include/linux/platform_data/keypad-omap.h
> +++ b/include/linux/platform_data/keypad-omap.h
> @@ -1,14 +1,12 @@
>  /*
> - *  arch/arm/plat-omap/include/mach/keypad.h
> - *
>   *  Copyright (C) 2006 Komal Shah <komal_shah802003@yahoo.com>
>   *
>   * This program is free software; you can redistribute it and/or modify
>   * it under the terms of the GNU General Public License version 2 as
>   * published by the Free Software Foundation.
>   */
> -#ifndef ASMARM_ARCH_KEYPAD_H
> -#define ASMARM_ARCH_KEYPAD_H
> +#ifndef __KEYPAD_OMAP_H
> +#define __KEYPAD_OMAP_H
>  
>  #ifndef CONFIG_ARCH_OMAP1
>  #warning Please update the board to use matrix-keypad driver
> -- 
> 1.7.9.5
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-28  1:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27 12:03 [PATCH 1/2] Input: keypad-ep93xx - Cleanup header file Sachin Kamat
2013-12-27 12:03 ` [PATCH 2/2] Input: keypad-omap " Sachin Kamat
2013-12-28  1:15   ` Dmitry Torokhov

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).