Skip to contentSkip to conversation

pinctrl: k210: Undef K210_PC_DEFAULT

PATCH Applied zhangjiao2 3 participants 4 messages Nov 13, 2024 – Dec 20, 2024

Subsystems (4)
lore
Share & tools
lore

zhangjiao2

author
#0 lore raw

PATCH v4 1/1 pinctrl: k210: Undef K210_PC_DEFAULT

From: zhang jiao <[email protected]>

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")

---
v3->v4:
Modify commit info and add review tag.

 drivers/pinctrl/pinctrl-k210.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/pinctrl-k210.c +1 -1
index caf20215aaba..eddb01796a83 100644
@@ -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.
Signature · 1 line
2.33.0
#1 lore raw
Quoted 6 lines · On Wed, Nov 13, 2024 at 8:12 AM zhangjiao2 <[email protected]>…

From: zhang jiao <[email protected]>

When the temporary macro K210_PC_DEFAULT is not needed anymore, use its name in the #undef statement instead of
the incorrect "DEFAULT" name.

Quoted 6 lines
Fixes d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")

---
v3->v4:
Modify commit info and add review tag.

v4 patch applied!

Yours,
Linus Walleij

#2 lore raw
In reply to zhangjiao2
This patch was applied to riscv/linux.git (fixes) by Linus Walleij <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (fixes)
by Linus Walleij <[email protected]>:

Quoted 11 lines · On Wed, 13 Nov 2024 15:12:01 +0800 you wrote:

From: zhang jiao <[email protected]>

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")

[...]

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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html