]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: k210: Undef K210_PC_DEFAULT
authorzhang jiao <zhangjiao2@cmss.chinamobile.com>
Wed, 13 Nov 2024 07:12:01 +0000 (15:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:04 +0000 (19:51 +0100)
commit246896417a0e6a5426427447281bafb8016232c2
treef52ebc4eddd10e8d5a36a52d03528ed79ab5cd84
parent1b26918fd8493062e3e59d847ce43e70fdcdf065
pinctrl: k210: Undef K210_PC_DEFAULT

[ Upstream commit 7e86490c5dee5c41a55f32d0dc34269e200e6909 ]

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>
Link: https://lore.kernel.org/20241113071201.5440-1-zhangjiao2@cmss.chinamobile.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/pinctrl-k210.c