diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-04-04 11:43:08 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-04-14 11:08:17 +0200 |
commit | cca973a823f1c94313256ab214af0577dcc3a52b (patch) | |
tree | 9ab86f75a024edf7ad4c5c5d3c056c718a9ded01 /drivers/pinctrl/pinctrl-mcp23s08.h | |
parent | 52066a53bd116a2f41d04d99b5095c02ad8cf953 (diff) | |
download | linux-stable-cca973a823f1c94313256ab214af0577dcc3a52b.tar.gz linux-stable-cca973a823f1c94313256ab214af0577dcc3a52b.tar.bz2 linux-stable-cca973a823f1c94313256ab214af0577dcc3a52b.zip |
pinctrl: mcp23s08: Convert to immutable irq_chip
Convert the driver to immutable irq-chip with a bit of
intuition.
I switched to using irqd_to_hwirq() consistently while we
are at it.
Cc: Marc Zyngier <maz@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230403-immutable-irqchips-v1-6-503788a7f6e6@linaro.org
Diffstat (limited to 'drivers/pinctrl/pinctrl-mcp23s08.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-mcp23s08.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-mcp23s08.h b/drivers/pinctrl/pinctrl-mcp23s08.h index b8d15939e0c2..b15516af7783 100644 --- a/drivers/pinctrl/pinctrl-mcp23s08.h +++ b/drivers/pinctrl/pinctrl-mcp23s08.h @@ -36,7 +36,6 @@ struct mcp23s08 { struct mutex lock; struct gpio_chip chip; - struct irq_chip irq_chip; struct regmap *regmap; struct device *dev; |