diff mbox

[3/4] Input: jornada720_kbd - remove unneeded mach/hardware.h include

Message ID E1bhZVi-0005cf-AK@rmk-PC.armlinux.org.uk (mailing list archive)
State Accepted
Headers show

Commit Message

Russell King (Oracle) Sept. 7, 2016, 9:51 a.m. UTC
The Jornada720 keyboard driver does not make use of anything from the
mach/hardware.h header, so this header can be removed.

Tested-by: Adam Wysocki <armlinux@chmurka.net>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 drivers/input/keyboard/jornada720_kbd.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Dmitry Torokhov Sept. 8, 2016, 2:21 a.m. UTC | #1
On Wed, Sep 07, 2016 at 10:51:14AM +0100, Russell King wrote:
> The Jornada720 keyboard driver does not make use of anything from the
> mach/hardware.h header, so this header can be removed.
> 
> Tested-by: Adam Wysocki <armlinux@chmurka.net>
> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>

Applied, thank you.

> ---
>  drivers/input/keyboard/jornada720_kbd.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/input/keyboard/jornada720_kbd.c b/drivers/input/keyboard/jornada720_kbd.c
> index 6ac9fee1d8fa..3d29e5e392c2 100644
> --- a/drivers/input/keyboard/jornada720_kbd.c
> +++ b/drivers/input/keyboard/jornada720_kbd.c
> @@ -25,7 +25,6 @@
>  #include <linux/slab.h>
>  
>  #include <mach/jornada720.h>
> -#include <mach/hardware.h>
>  
>  MODULE_AUTHOR("Kristoffer Ericson <Kristoffer.Ericson@gmail.com>");
>  MODULE_DESCRIPTION("HP Jornada 710/720/728 keyboard driver");
> -- 
> 2.1.0
>
diff mbox

Patch

diff --git a/drivers/input/keyboard/jornada720_kbd.c b/drivers/input/keyboard/jornada720_kbd.c
index 6ac9fee1d8fa..3d29e5e392c2 100644
--- a/drivers/input/keyboard/jornada720_kbd.c
+++ b/drivers/input/keyboard/jornada720_kbd.c
@@ -25,7 +25,6 @@ 
 #include <linux/slab.h>
 
 #include <mach/jornada720.h>
-#include <mach/hardware.h>
 
 MODULE_AUTHOR("Kristoffer Ericson <Kristoffer.Ericson@gmail.com>");
 MODULE_DESCRIPTION("HP Jornada 710/720/728 keyboard driver");