public inbox for linux-gpio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] pinctrl: k210: Undef K210_PC_DEFAULT
@ 2024-11-13  7:12 zhangjiao2
  2024-11-18 22:51 ` Linus Walleij
  2024-12-11 22:32 ` patchwork-bot+linux-riscv
  0 siblings, 2 replies; 4+ messages in thread
From: zhangjiao2 @ 2024-11-13  7:12 UTC (permalink / raw)
  To: dlemoal; +Cc: linus.walleij, linux-riscv, linux-gpio, linux-kernel, zhang jiao

From: zhang jiao <zhangjiao2@cmss.chinamobile.com>

When the temporary macro K210_PC_DEFAULT is not needed anymore,
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@cmss.chinamobile.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
---
v3->v4:
	Modify commit info and add review tag.

 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.
-- 
2.33.0




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v4] pinctrl: k210: Undef K210_PC_DEFAULT
  2024-11-13  7:12 [PATCH v4] pinctrl: k210: Undef K210_PC_DEFAULT zhangjiao2
@ 2024-11-18 22:51 ` Linus Walleij
  2024-12-11 22:32 ` patchwork-bot+linux-riscv
  1 sibling, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2024-11-18 22:51 UTC (permalink / raw)
  To: zhangjiao2; +Cc: dlemoal, linux-riscv, linux-gpio, linux-kernel

On Wed, Nov 13, 2024 at 8:12 AM zhangjiao2
<zhangjiao2@cmss.chinamobile.com> wrote:

> From: zhang jiao <zhangjiao2@cmss.chinamobile.com>
>
> When the temporary macro K210_PC_DEFAULT is not needed anymore,
> 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@cmss.chinamobile.com>
> Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
> ---
> v3->v4:
>         Modify commit info and add review tag.

v4 patch applied!

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v4] pinctrl: k210: Undef K210_PC_DEFAULT
  2024-11-13  7:12 [PATCH v4] pinctrl: k210: Undef K210_PC_DEFAULT zhangjiao2
  2024-11-18 22:51 ` Linus Walleij
@ 2024-12-11 22:32 ` patchwork-bot+linux-riscv
  2024-12-20 12:37   ` Linus Walleij
  1 sibling, 1 reply; 4+ messages in thread
From: patchwork-bot+linux-riscv @ 2024-12-11 22:32 UTC (permalink / raw)
  To: zhangjiao2; +Cc: linux-riscv, dlemoal, linus.walleij, linux-gpio, linux-kernel

Hello:

This patch was applied to riscv/linux.git (fixes)
by Linus Walleij <linus.walleij@linaro.org>:

On Wed, 13 Nov 2024 15:12:01 +0800 you wrote:
> From: zhang jiao <zhangjiao2@cmss.chinamobile.com>
> 
> When the temporary macro K210_PC_DEFAULT is not needed anymore,
> 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@cmss.chinamobile.com>
> Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
> 
> [...]

Here is the summary with links:
  - [v4] pinctrl: k210: Undef K210_PC_DEFAULT
    https://git.kernel.org/riscv/c/7e86490c5dee

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v4] pinctrl: k210: Undef K210_PC_DEFAULT
  2024-12-11 22:32 ` patchwork-bot+linux-riscv
@ 2024-12-20 12:37   ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2024-12-20 12:37 UTC (permalink / raw)
  To: patchwork-bot+linux-riscv
  Cc: zhangjiao2, linux-riscv, dlemoal, linux-gpio, linux-kernel

On Wed, Dec 11, 2024 at 11:32 PM <patchwork-bot+linux-riscv@kernel.org> wrote:

> This patch was applied to riscv/linux.git (fixes)
> by Linus Walleij <linus.walleij@linaro.org>:

No I did not.

I applied to to my own git.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-20 12:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13  7:12 [PATCH v4] pinctrl: k210: Undef K210_PC_DEFAULT zhangjiao2
2024-11-18 22:51 ` Linus Walleij
2024-12-11 22:32 ` patchwork-bot+linux-riscv
2024-12-20 12:37   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox