mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] gpio: cadence: Remove duplicated include in gpio-cadence.c
@ 2025-07-23  6:46 Yang Li
  2025-07-23  8:41 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2025-07-23  6:46 UTC (permalink / raw)
  To: linus.walleij, brgl; +Cc: linux-gpio, linux-kernel, Yang Li, Abaci Robot

The header files linux/gpio/driver.h is included twice in gpio-cadence.c,
so one inclusion of each can be removed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22931
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpio/gpio-cadence.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpio/gpio-cadence.c b/drivers/gpio/gpio-cadence.c
index 8243eddcd5bb..c647953521c7 100644
--- a/drivers/gpio/gpio-cadence.c
+++ b/drivers/gpio/gpio-cadence.c
@@ -12,7 +12,6 @@
 #include <linux/clk.h>
 #include <linux/gpio/driver.h>
 #include <linux/interrupt.h>
-#include <linux/gpio/driver.h>
 #include <linux/gpio/generic.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
-- 
2.43.5


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-23  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-23  6:46 [PATCH -next] gpio: cadence: Remove duplicated include in gpio-cadence.c Yang Li
2025-07-23  8:41 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®