diff options
author | Marc Zyngier <maz@kernel.org> | 2022-02-01 13:03:04 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-02-09 14:36:53 +0100 |
commit | 4b9558f92036c968119e1de383f604c19b3ca99b (patch) | |
tree | 8aa2cea15832b9d1d0291ea8ae035ab192786ee6 /drivers/gpio | |
parent | irqchip/imx-intmux: Move PM device over to irq domain (diff) | |
download | linux-4b9558f92036c968119e1de383f604c19b3ca99b.tar.xz linux-4b9558f92036c968119e1de383f604c19b3ca99b.zip |
gpio: mt7621: Kill parent_device usage
This gpio controller sets the parent_device field, but doesn't have
any runtime PM functionality. Get rid of it.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Bartosz Golaszewski <brgl@bgdev.pl>
Link: https://lore.kernel.org/r/20220201120310.878267-7-maz@kernel.org
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-mt7621.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-mt7621.c b/drivers/gpio/gpio-mt7621.c index ccaad1cb3c2e..d8a26e503ca5 100644 --- a/drivers/gpio/gpio-mt7621.c +++ b/drivers/gpio/gpio-mt7621.c @@ -239,7 +239,6 @@ mediatek_gpio_bank_probe(struct device *dev, int bank) rg->chip.offset = bank * MTK_BANK_WIDTH; rg->irq_chip.name = dev_name(dev); - rg->irq_chip.parent_device = dev; rg->irq_chip.irq_unmask = mediatek_gpio_irq_unmask; rg->irq_chip.irq_mask = mediatek_gpio_irq_mask; rg->irq_chip.irq_mask_ack = mediatek_gpio_irq_mask; |