pinctrl: pinctrl-single: Remove some unused fields in struct pcs_function
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 1 Apr 2024 20:48:55 +0000 (22:48 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2024 19:03:25 +0000 (21:03 +0200)
commita95e2bc817feac96f229910c6822c682da887fa1
tree6da47410d60ac34097ec1aa321d7072410271293
parent922c86f8d3ad6c85142be3b8317f0e28a794116c
pinctrl: pinctrl-single: Remove some unused fields in struct pcs_function

In "struct pcs_function", the 'pgnames' and 'npgnames' fields are unused.
This is a left-over from commit 571aec4df5b7 ("pinctrl: single: Use generic
pinmux helpers for managing functions");

Remove them.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Message-ID: <a6b653642298d35b1e3656e9bfc6d1b322fbbe68.1712004518.git.christophe.jaillet@wanadoo.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c