* [PATCH linux-next] pinctrl: qcom: remove duplicate include
@ 2022-11-02 2:46 zhang.songyi
0 siblings, 0 replies; only message in thread
From: zhang.songyi @ 2022-11-02 2:46 UTC (permalink / raw)
To: andersson, agross, konrad.dybcio
Cc: linus.walleij, linux-arm-msm, linux-gpio, xue.zhihong,
jiang.xuexin
From 6b941a80348b4d8b862072ecec4df41a43368c60 Mon Sep 17 00:00:00 2001
From: zhang songyi <zhang.songyi@zte.com.cn>
Date: Wed, 2 Nov 2022 10:21:53 +0800
Subject: [PATCH linux-next] pinctrl: qcom: remove duplicate include
'linux/seq_file.h' included in
'drivers/pinctrl/qcom/pinctrl-lpass-lpi.c,
drivers/pinctrl/qcom/pinctrl-msm.c,
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c,
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c' is duplicated.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
---
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 2 --
drivers/pinctrl/qcom/pinctrl-msm.c | 2 --
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | 2 --
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c | 2 --
4 files changed, 8 deletions(-)
diff --git a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
index d5cfa91e2eff..90648fc11647 100644
--- a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
+++ b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
@@ -283,8 +283,6 @@ static void lpi_gpio_set(struct gpio_chip *chip, unsigned int pin, int value)
}
#ifdef CONFIG_DEBUG_FS
-#include <linux/seq_file.h>
-
static unsigned int lpi_regval_to_drive(u32 val)
{
return (val + 1) * 2;
diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c
index 8fbb953c4bbe..0d2d3e83e929 100644
--- a/drivers/pinctrl/qcom/pinctrl-msm.c
+++ b/drivers/pinctrl/qcom/pinctrl-msm.c
@@ -622,8 +622,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,
struct gpio_chip *chip,
diff --git a/drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c b/drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
index b1748791a01e..cf69f208dfb8 100644
--- a/drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
@@ -536,8 +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,
struct gpio_chip *chip,
diff --git a/drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c b/drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
index 30a934245c1b..71bbf1f1599a 100644
--- a/drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
+++ b/drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
@@ -536,8 +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,
struct gpio_chip *chip,
--
2.15.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-02 2:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-02 2:46 [PATCH linux-next] pinctrl: qcom: remove duplicate include zhang.songyi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox