Re: [PATCH] drivers: pinctrl: Remove duplicate include of io.h

From: Damien Le Moal
Date: Mon Mar 22 2021 - 21:51:02 EST


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@xxxxxxxx>
> ---
> 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@xxxxxxx>


--
Damien Le Moal
Western Digital Research