* [PATCH] drivers: pinctrl: Remove duplicate include of io.h
@ 2021-03-23 1:37 Wan Jiabing
2021-03-23 1:50 ` Damien Le Moal
2021-03-25 9:27 ` Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Wan Jiabing @ 2021-03-23 1:37 UTC (permalink / raw)
To: Damien Le Moal, Linus Walleij, linux-riscv, linux-gpio, linux-kernel
Cc: kael_w, Wan Jiabing
linux/io.h has been included at line 6, so remove the
duplicate include at line 18.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
drivers/pinctrl/pinctrl-k210.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-k210.c b/drivers/pinctrl/pinctrl-k210.c
index 8a733cf77ba0..f831526d06ff 100644
--- a/drivers/pinctrl/pinctrl-k210.c
+++ b/drivers/pinctrl/pinctrl-k210.c
@@ -15,7 +15,6 @@
#include <linux/pinctrl/pinmux.h>
#include <linux/pinctrl/pinconf.h>
#include <linux/pinctrl/pinconf-generic.h>
-#include <linux/io.h>
#include <dt-bindings/pinctrl/k210-fpioa.h>
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drivers: pinctrl: Remove duplicate include of io.h
2021-03-23 1:37 [PATCH] drivers: pinctrl: Remove duplicate include of io.h Wan Jiabing
@ 2021-03-23 1:50 ` Damien Le Moal
2021-03-25 9:27 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Damien Le Moal @ 2021-03-23 1:50 UTC (permalink / raw)
To: Wan Jiabing, Linus Walleij, linux-riscv, linux-gpio, linux-kernel; +Cc: kael_w
On 2021/03/23 10:38, Wan Jiabing wrote:
> linux/io.h has been included at line 6, so remove the
> duplicate include at line 18.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
> drivers/pinctrl/pinctrl-k210.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pinctrl/pinctrl-k210.c b/drivers/pinctrl/pinctrl-k210.c
> index 8a733cf77ba0..f831526d06ff 100644
> --- a/drivers/pinctrl/pinctrl-k210.c
> +++ b/drivers/pinctrl/pinctrl-k210.c
> @@ -15,7 +15,6 @@
> #include <linux/pinctrl/pinmux.h>
> #include <linux/pinctrl/pinconf.h>
> #include <linux/pinctrl/pinconf-generic.h>
> -#include <linux/io.h>
>
> #include <dt-bindings/pinctrl/k210-fpioa.h>
>
>
Good catch !
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
--
Damien Le Moal
Western Digital Research
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drivers: pinctrl: Remove duplicate include of io.h
2021-03-23 1:37 [PATCH] drivers: pinctrl: Remove duplicate include of io.h Wan Jiabing
2021-03-23 1:50 ` Damien Le Moal
@ 2021-03-25 9:27 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2021-03-25 9:27 UTC (permalink / raw)
To: Wan Jiabing
Cc: Damien Le Moal, linux-riscv, open list:GPIO SUBSYSTEM,
linux-kernel, kael_w
On Tue, Mar 23, 2021 at 2:37 AM Wan Jiabing <wanjiabing@vivo.com> wrote:
> linux/io.h has been included at line 6, so remove the
> duplicate include at line 18.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Patch applied!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-25 9:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 1:37 [PATCH] drivers: pinctrl: Remove duplicate include of io.h Wan Jiabing
2021-03-23 1:50 ` Damien Le Moal
2021-03-25 9:27 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).