[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <164442347653.16921.5297090133222688838.tip-bot2@tip-bot2>
Date: Wed, 09 Feb 2022 16:17:56 -0000
From: "irqchip-bot for Marc Zyngier" <tip-bot2@...utronix.de>
To: linux-kernel@...r.kernel.org
Cc: Marc Zyngier <maz@...nel.org>, Bartosz Golaszewski <brgl@...ev.pl>,
tglx@...utronix.de
Subject: [irqchip: irq/irqchip-next] gpio: mt7621: Kill parent_device usage
The following commit has been merged into the irq/irqchip-next branch of irqchip:
Commit-ID: 4b9558f92036c968119e1de383f604c19b3ca99b
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/4b9558f92036c968119e1de383f604c19b3ca99b
Author: Marc Zyngier <maz@...nel.org>
AuthorDate: Tue, 01 Feb 2022 12:03:04
Committer: Marc Zyngier <maz@...nel.org>
CommitterDate: Wed, 09 Feb 2022 13:36:53
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@...nel.org>
Acked-by: Bartosz Golaszewski <brgl@...ev.pl>
Link: https://lore.kernel.org/r/20220201120310.878267-7-maz@kernel.org
---
drivers/gpio/gpio-mt7621.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpio/gpio-mt7621.c b/drivers/gpio/gpio-mt7621.c
index ccaad1c..d8a26e5 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;
Powered by blists - more mailing lists