[linux-next] pinctrl: nomadik: remove duplicate included header files

Message ID 202301161545238948580@zte.com.cn
State New
Headers
Series [linux-next] pinctrl: nomadik: remove duplicate included header files |

Commit Message

ye.xingchen@zte.com.cn Jan. 16, 2023, 7:45 a.m. UTC
  From: ye xingchen <ye.xingchen@zte.com.cn>

linux/seq_file.h is included more than once.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
---
 drivers/pinctrl/nomadik/pinctrl-abx500.c | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Linus Walleij Jan. 16, 2023, 2:22 p.m. UTC | #1
On Mon, Jan 16, 2023 at 8:45 AM <ye.xingchen@zte.com.cn> wrote:

> From: ye xingchen <ye.xingchen@zte.com.cn>
>
> linux/seq_file.h is included more than once.
>
> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>

Patch applied!

Yours,
Linus Walleij
  

Patch

diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c
index 28c3403df1b0..6b90051af206 100644
--- a/drivers/pinctrl/nomadik/pinctrl-abx500.c
+++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c
@@ -446,8 +446,6 @@  static int abx500_get_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip,
 	return ret;
 }

-#include <linux/seq_file.h>
-
 static void abx500_gpio_dbg_show_one(struct seq_file *s,
 				     struct pinctrl_dev *pctldev,
 				     struct gpio_chip *chip,