[PATCH linux-next] pinctrl: nomadik: remove duplicate included header files

ye.xingchen at zte.com.cn ye.xingchen at zte.com.cn
Sun Jan 15 23:45:23 PST 2023


From: ye xingchen <ye.xingchen at zte.com.cn>

linux/seq_file.h is included more than once.

Signed-off-by: ye xingchen <ye.xingchen at zte.com.cn>
---
 drivers/pinctrl/nomadik/pinctrl-abx500.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c
index 28c3403df1b0..6b90051af206 100644
--- a/drivers/pinctrl/nomadik/pinctrl-abx500.c
+++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c
@@ -446,8 +446,6 @@ static int abx500_get_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip,
 	return ret;
 }

-#include <linux/seq_file.h>
-
 static void abx500_gpio_dbg_show_one(struct seq_file *s,
 				     struct pinctrl_dev *pctldev,
 				     struct gpio_chip *chip,
-- 
2.25.1



More information about the linux-arm-kernel mailing list