[PATCH] misc: microchip: pci1xxxx: Remove duplicate include

Yihao Han posted 1 patch 3 years, 6 months ago
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] misc: microchip: pci1xxxx: Remove duplicate include
Posted by Yihao Han 3 years, 6 months ago
Remove duplicate include in mchp_pci1xxxx_gpio.c

Signed-off-by: Yihao Han <hanyihao@vivo.com>
---
 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
RE: [PATCH] misc: microchip: pci1xxxx: Remove duplicate include
Posted by Kumaravel.Thiagarajan@microchip.com 3 years, 6 months ago
> -----Original Message-----
> From: Yihao Han <hanyihao@vivo.com>
> Sent: Tuesday, September 13, 2022 8:33 AM
> To: Kumaravel Thiagarajan - I21417
> <Kumaravel.Thiagarajan@microchip.com>; Arnd Bergmann
> <arnd@arndb.de>; Greg Kroah-Hartman <gregkh@linuxfoundation.org>;
> linux-gpio@vger.kernel.org; linux-kernel@vger.kernel.org
> Cc: Yihao Han <hanyihao@vivo.com>
> 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 <hanyihao@vivo.com>

Fixes: 7d3e4d807df2 ("misc: microchip: pci1xxxx: load gpio driver for the gpio controller auxiliary device enumerated by the auxiliary bus driver.")
Reviewed-by: Kumaravel Thiagarajan <kumaravel.thiagarajan@microchip.com>
> ---
>  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