2022-09-13 03:40:51

by Yihao Han

[permalink] [raw]
Subject: [PATCH] misc: microchip: pci1xxxx: Remove duplicate include

Remove duplicate include in mchp_pci1xxxx_gpio.c

Signed-off-by: Yihao Han <[email protected]>
---
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c b/drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c
index 9cc771c604ed..3cda6e679cc7 100644
--- a/drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c
+++ b/drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c
@@ -6,7 +6,6 @@
#include <linux/spinlock.h>
#include <linux/gpio/driver.h>
#include <linux/bio.h>
-#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/kthread.h>
#include <linux/interrupt.h>
--
2.17.1


2022-09-13 10:53:24

by Kumaravel Thiagarajan

[permalink] [raw]
Subject: RE: [PATCH] misc: microchip: pci1xxxx: Remove duplicate include

> -----Original Message-----
> From: Yihao Han <[email protected]>
> Sent: Tuesday, September 13, 2022 8:33 AM
> To: Kumaravel Thiagarajan - I21417
> <[email protected]>; Arnd Bergmann
> <[email protected]>; Greg Kroah-Hartman <[email protected]>;
> [email protected]; [email protected]
> Cc: Yihao Han <[email protected]>
> Subject: [PATCH] misc: microchip: pci1xxxx: Remove duplicate include
>
> Remove duplicate include in mchp_pci1xxxx_gpio.c
Thank you for the patch.
>
> Signed-off-by: Yihao Han <[email protected]>

Fixes: 7d3e4d807df2 ("misc: microchip: pci1xxxx: load gpio driver for the gpio controller auxiliary device enumerated by the auxiliary bus driver.")
Reviewed-by: Kumaravel Thiagarajan <[email protected]>
> ---
> drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c
> b/drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c
> index 9cc771c604ed..3cda6e679cc7 100644
> --- a/drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c
> +++ b/drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c
> @@ -6,7 +6,6 @@
> #include <linux/spinlock.h>
> #include <linux/gpio/driver.h>
> #include <linux/bio.h>
> -#include <linux/spinlock.h>
> #include <linux/mutex.h>
> #include <linux/kthread.h>
> #include <linux/interrupt.h>
> --
> 2.17.1