[08/45] drivers: input: remove duplicate includes
diff mbox

Message ID 1512439272-15824-1-git-send-email-pravin.shedge4linux@gmail.com
State Under Review
Headers show

Commit Message

Pravin Shedge Dec. 5, 2017, 2:01 a.m. UTC
These duplicate includes have been found with scripts/checkincludes.pl but
they have been removed manually to avoid removing false positives.

Signed-off-by: Pravin Shedge <pravin.shedge4linux@gmail.com>
---
 drivers/input/rmi4/rmi_f34.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Benjamin Tissoires Dec. 5, 2017, 8:15 a.m. UTC | #1
Hi,

[adding Jiri, the HID maintainer in CC]

On Tue, Dec 5, 2017 at 3:01 AM, Pravin Shedge
<pravin.shedge4linux@gmail.com> wrote:
> These duplicate includes have been found with scripts/checkincludes.pl but
> they have been removed manually to avoid removing false positives.
>
> Signed-off-by: Pravin Shedge <pravin.shedge4linux@gmail.com>
> ---

Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

Cheers,
Benjamin

>  drivers/input/rmi4/rmi_f34.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/input/rmi4/rmi_f34.c b/drivers/input/rmi4/rmi_f34.c
> index 4cfe970..f1f5ac5 100644
> --- a/drivers/input/rmi4/rmi_f34.c
> +++ b/drivers/input/rmi4/rmi_f34.c
> @@ -11,7 +11,6 @@
>  #include <linux/rmi.h>
>  #include <linux/firmware.h>
>  #include <asm/unaligned.h>
> -#include <asm/unaligned.h>
>  #include <linux/bitops.h>
>
>  #include "rmi_driver.h"
> --
> 2.7.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Dmitry Torokhov Dec. 5, 2017, 6:22 p.m. UTC | #2
On Tue, Dec 05, 2017 at 09:15:55AM +0100, Benjamin Tissoires wrote:
> Hi,
> 
> [adding Jiri, the HID maintainer in CC]
> 
> On Tue, Dec 5, 2017 at 3:01 AM, Pravin Shedge
> <pravin.shedge4linux@gmail.com> wrote:
> > These duplicate includes have been found with scripts/checkincludes.pl but
> > they have been removed manually to avoid removing false positives.
> >
> > Signed-off-by: Pravin Shedge <pravin.shedge4linux@gmail.com>
> > ---
> 
> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

Applied, thank you.

> 
> Cheers,
> Benjamin
> 
> >  drivers/input/rmi4/rmi_f34.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/input/rmi4/rmi_f34.c b/drivers/input/rmi4/rmi_f34.c
> > index 4cfe970..f1f5ac5 100644
> > --- a/drivers/input/rmi4/rmi_f34.c
> > +++ b/drivers/input/rmi4/rmi_f34.c
> > @@ -11,7 +11,6 @@
> >  #include <linux/rmi.h>
> >  #include <linux/firmware.h>
> >  #include <asm/unaligned.h>
> > -#include <asm/unaligned.h>
> >  #include <linux/bitops.h>
> >
> >  #include "rmi_driver.h"
> > --
> > 2.7.4
> >

Patch
diff mbox

diff --git a/drivers/input/rmi4/rmi_f34.c b/drivers/input/rmi4/rmi_f34.c
index 4cfe970..f1f5ac5 100644
--- a/drivers/input/rmi4/rmi_f34.c
+++ b/drivers/input/rmi4/rmi_f34.c
@@ -11,7 +11,6 @@ 
 #include <linux/rmi.h>
 #include <linux/firmware.h>
 #include <asm/unaligned.h>
-#include <asm/unaligned.h>
 #include <linux/bitops.h>
 
 #include "rmi_driver.h"