pinctrl: abx500: Fix type of 'argument' variable

[ Upstream commit 34006f7789 ]

The argument variable is assigned the return value of
pinconf_to_config_argument(), which returns a u32. Change its type from
enum pin_config_param to unsigned int to correctly store the configuration
argument.

Fixes: 03b054e969 ("pinctrl: Pass all configs to driver on pin_config_set()")
Signed-off-by: Yu-Chun Lin <eleanor15x@gmail.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Yu-Chun Lin 2026-03-20 23:15:06 +08:00 • committed by Greg Kroah-Hartman
commit 253fe7ec2c