diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-04-01 22:48:55 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-04-04 21:03:25 +0200 |
commit | a95e2bc817feac96f229910c6822c682da887fa1 (patch) | |
tree | 6da47410d60ac34097ec1aa321d7072410271293 /drivers/pinctrl | |
parent | pinctrl: max77620: Remove an unused fields in struct max77620_pin_info and ma... (diff) | |
download | linux-a95e2bc817feac96f229910c6822c682da887fa1.tar.xz linux-a95e2bc817feac96f229910c6822c682da887fa1.zip |
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-single.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index 0dd4b0e11adf..b4f8aa609b97 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -81,8 +81,6 @@ struct pcs_conf_type { * @name: pinctrl function name * @vals: register and vals array * @nvals: number of entries in vals array - * @pgnames: array of pingroup names the function uses - * @npgnames: number of pingroup names the function uses * @conf: array of pin configurations * @nconfs: number of pin configurations available * @node: list node @@ -91,8 +89,6 @@ struct pcs_function { const char *name; struct pcs_func_vals *vals; unsigned nvals; - const char **pgnames; - int npgnames; struct pcs_conf_vals *conf; int nconfs; struct list_head node; |