pinctrl: qcom: remove duplicate included header files
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 22 Nov 2022 08:31:57 +0000 (16:31 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Nov 2022 20:25:27 +0000 (21:25 +0100)
linux/seq_file.h is included more than once.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202211221631577017318@zte.com.cn
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-msm.c
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c

index 8f7d58a4efe000daa774a566cc4fb3322f1f218e..6e8ac3ece94d1ebdedd82a43942cb07c826a9dae 100644 (file)
@@ -601,7 +601,6 @@ static void msm_gpio_set(struct gpio_chip *chip, unsigned offset, int value)
 }
 
 #ifdef CONFIG_DEBUG_FS
-#include <linux/seq_file.h>
 
 static void msm_gpio_dbg_show_one(struct seq_file *s,
                                  struct pinctrl_dev *pctldev,
index b1748791a01ec68dc94c32ebbc6435775275b308..99314925bb13388c6f3ff2605cea0c657a7e2709 100644 (file)
@@ -536,7 +536,6 @@ static int pm8xxx_gpio_of_xlate(struct gpio_chip *chip,
 
 
 #ifdef CONFIG_DEBUG_FS
-#include <linux/seq_file.h>
 
 static void pm8xxx_gpio_dbg_show_one(struct seq_file *s,
                                  struct pinctrl_dev *pctldev,
index 30a934245c1b318a639f4b88d717c5106218f8fc..a46650db678a8dabd275bf98ecc4f6fb12d5afd2 100644 (file)
@@ -536,7 +536,6 @@ static int pm8xxx_mpp_of_xlate(struct gpio_chip *chip,
 
 
 #ifdef CONFIG_DEBUG_FS
-#include <linux/seq_file.h>
 
 static void pm8xxx_mpp_dbg_show_one(struct seq_file *s,
                                  struct pinctrl_dev *pctldev,