diff options
author | Mark Brown <broonie@kernel.org> | 2023-03-07 13:51:28 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-03-13 11:21:54 +0100 |
commit | 5361ebe94a614c36198f26c1d006a65b367a1c3a (patch) | |
tree | 80559dcc62a680f14f6ccb5a4f365d94197da3c8 /drivers/pinctrl/pinctrl-at91.c | |
parent | pinctrl: at91: Make the irqchip immutable (diff) | |
download | linux-5361ebe94a614c36198f26c1d006a65b367a1c3a.tar.xz linux-5361ebe94a614c36198f26c1d006a65b367a1c3a.zip |
pinctrl: at91: Remove pioc_index from struct at91_gpio_chip
The pioc_idx member of struct at91_gpio_chip is write only, just remove it.
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230216-gpio-at91-immutable-v2-2-326ef362dbc7@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-at91.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 1e083fc7666b..871209c24153 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -42,7 +42,6 @@ struct at91_pinctrl_mux_ops; * @next: bank sharing same clock * @pioc_hwirq: PIO bank interrupt identifier on AIC * @pioc_virq: PIO bank Linux virtual interrupt - * @pioc_idx: PIO bank index * @regbase: PIO bank virtual address * @clock: associated clock * @ops: at91 pinctrl mux ops @@ -56,7 +55,6 @@ struct at91_gpio_chip { struct at91_gpio_chip *next; int pioc_hwirq; int pioc_virq; - int pioc_idx; void __iomem *regbase; struct clk *clock; const struct at91_pinctrl_mux_ops *ops; @@ -1849,7 +1847,6 @@ static int at91_gpio_probe(struct platform_device *pdev) at91_chip->ops = of_device_get_match_data(dev); at91_chip->pioc_virq = irq; - at91_chip->pioc_idx = alias_idx; at91_chip->clock = devm_clk_get_enabled(dev, NULL); if (IS_ERR(at91_chip->clock)) |