pinctrl: qcom: lpass-lpi: remove duplicated include

Message ID 202312151810+0800-wangjinchao@xfusion.com
State New
Headers
Series pinctrl: qcom: lpass-lpi: remove duplicated include |

Commit Message

Wang Jinchao Dec. 15, 2023, 10:11 a.m. UTC
  remove the second #include <linux/seq_file.h>

Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
---
 drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Konrad Dybcio Dec. 16, 2023, 12:04 a.m. UTC | #1
On 15.12.2023 11:11, Wang Jinchao wrote:
> remove the second #include <linux/seq_file.h>
> 
> Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
> ---
Lol, nice find

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
  
Linus Walleij Dec. 20, 2023, 11:30 a.m. UTC | #2
On Fri, Dec 15, 2023 at 11:11 AM Wang Jinchao <wangjinchao@xfusion.com> wrote:

> remove the second #include <linux/seq_file.h>
>
> Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>

Patch applied.

Yours,
Linus Walleij
  

Patch

diff --git a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
index 9651aed048cf..f1e31d79796e 100644
--- a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
+++ b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
@@ -319,7 +319,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)
 {