diff mbox

[2/2] Input: keypad-omap - Cleanup header file

Message ID 1388145788-6253-2-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat Dec. 27, 2013, 12:03 p.m. UTC
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(-)

Comments

Dmitry Torokhov Dec. 28, 2013, 1:15 a.m. UTC | #1
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
>
diff mbox

Patch

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