[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e3ff8ec3-1995-408d-aa75-6afc11f51ebd@kernel.org>
Date: Wed, 13 Nov 2024 15:41:34 +0900
From: Damien Le Moal <dlemoal@...nel.org>
To: zhangjiao2 <zhangjiao2@...s.chinamobile.com>
Cc: linus.walleij@...aro.org, linux-riscv@...ts.infradead.org,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] pinctrl: k210: Undef K210_PC_DEFAULT
On 11/13/24 15:36, zhangjiao2 wrote:
> From: zhang jiao <zhangjiao2@...s.chinamobile.com>
>
> When the temporary macro K210_PC_DEFAULT is no need anymore,
You forgot to fix "no need -> not needed".
And you forgot to add my review tag as well.
> use its name in the #undef statement instead of
> the incorrect "DEFAULT" name.
>
> Fixes: d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")
> Signed-off-by: zhang jiao <zhangjiao2@...s.chinamobile.com>
> ---
> v2->v3:
> Modify commit info.
>
> drivers/pinctrl/pinctrl-k210.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pinctrl/pinctrl-k210.c b/drivers/pinctrl/pinctrl-k210.c
> index caf20215aaba..eddb01796a83 100644
> --- a/drivers/pinctrl/pinctrl-k210.c
> +++ b/drivers/pinctrl/pinctrl-k210.c
> @@ -181,7 +181,7 @@ static const u32 k210_pinconf_mode_id_to_mode[] = {
> [K210_PC_DEFAULT_INT13] = K210_PC_MODE_IN | K210_PC_PU,
> };
>
> -#undef DEFAULT
> +#undef K210_PC_DEFAULT
>
> /*
> * Pin functions configuration information.
--
Damien Le Moal
Western Digital Research
Powered by blists - more mailing lists