diff mbox series

[v4] pinctrl: k210: Undef K210_PC_DEFAULT

Message ID 20241113071201.5440-1-zhangjiao2@cmss.chinamobile.com
State New
Headers show
Series [v4] pinctrl: k210: Undef K210_PC_DEFAULT | expand

Commit Message

zhangjiao2 Nov. 13, 2024, 7:12 a.m. UTC
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(-)

Comments

Linus Walleij Nov. 18, 2024, 10:51 p.m. UTC | #1
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
patchwork-bot+linux-riscv@kernel.org Dec. 11, 2024, 10:32 p.m. UTC | #2
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!
Linus Walleij Dec. 20, 2024, 12:37 p.m. UTC | #3
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
diff mbox series

Patch

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.