Skip to content

Commit

Permalink
pinctrl: qcom: remove duplicate included header files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ye xingchen authored and Linus Walleij committed Nov 28, 2022
1 parent e7d0040 commit cf2fc8f
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/pinctrl/qcom/pinctrl-msm.c
Original file line number Diff line number Diff line change
@@ -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,
1 change: 0 additions & 1 deletion drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
Original file line number Diff line number Diff line change
@@ -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,
1 change: 0 additions & 1 deletion drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit cf2fc8f

Please sign in to comment.