]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: generic: change signature of pinctrl_generic_to_map() to pass void data
authorConor Dooley <conor.dooley@microchip.com>
Tue, 19 May 2026 09:37:22 +0000 (10:37 +0100)
committerLinus Walleij <linusw@kernel.org>
Tue, 26 May 2026 11:32:52 +0000 (13:32 +0200)
commit2fe8d79e09de0f8f34d89d80462586b910e18a31
tree2fdb6e1df3b41d59a6f054fb069db26b87a6463b
parent45ad4de324cb1bba88e568b5bef633a79d926aed
pinctrl: generic: change signature of pinctrl_generic_to_map() to pass void data

In order to make pinctrl_generic_to_map() usable for controllers that
use pinmux, change the functions char array pointer that it passes to
pinctrl_generic_add_group() to a void pointer. In the pinmux case this
property will contain the mux setting as a number rather than as strings
in the pins + functions case.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/pinconf.h
drivers/pinctrl/pinctrl-generic.c