2023-12-15 10:12:38

by Wang Jinchao

[permalink] [raw]
Subject: [PATCH] pinctrl: qcom: lpass-lpi: remove duplicated include

remove the second #include <linux/seq_file.h>

Signed-off-by: Wang Jinchao <[email protected]>
---
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 1 -
1 file changed, 1 deletion(-)

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)
{
--
2.40.0



2023-12-16 00:11:23

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: qcom: lpass-lpi: remove duplicated include

On 15.12.2023 11:11, Wang Jinchao wrote:
> remove the second #include <linux/seq_file.h>
>
> Signed-off-by: Wang Jinchao <[email protected]>
> ---
Lol, nice find

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad

2023-12-20 11:31:33

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: qcom: lpass-lpi: remove duplicated include

On Fri, Dec 15, 2023 at 11:11 AM Wang Jinchao <[email protected]> wrote:

> remove the second #include <linux/seq_file.h>
>
> Signed-off-by: Wang Jinchao <[email protected]>

Patch applied.

Yours,
Linus Walleij