[PATCH 4/7] pinctrl: mediatek: moore: Fix type in .pin_config_group_get() callback

Geert Uytterhoeven
2026-04-30T15:34:02Z

drivers/pinctrl/mediatek/pinctrl-moore.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/pinctrl/mediatek/pinctrl-moore.c b/drivers/pinctrl/mediatek/pinctrl-moore.c
index 071ba849e5322396..17e30f83dc1972c0 100644
--- a/drivers/pinctrl/mediatek/pinctrl-moore.c
+++ b/drivers/pinctrl/mediatek/pinctrl-moore.c
@@ -402,7 +402,8 @@ static int mtk_pinconf_group_get(struct pinctrl_dev *pctldev,
unsigned int group, unsigned long *config)
{
const unsigned int *pins;
- unsigned int i, npins, old = 0;
+ unsigned int i, npins;
+ unsigned long old = 0;
int ret;