projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb140b9
)
gpio: mt7621: Kill parent_device usage
author
Marc Zyngier
<maz@kernel.org>
Tue, 1 Feb 2022 12:03:04 +0000
(12:03 +0000)
committer
Marc Zyngier
<maz@kernel.org>
Wed, 9 Feb 2022 13:36:53 +0000
(13:36 +0000)
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
drivers/gpio/gpio-mt7621.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-mt7621.c
b/drivers/gpio/gpio-mt7621.c
index ccaad1cb3c2e9e9ae8b8ddb81b32409c5508638c..d8a26e503ca5d2fe7d99ce2745b484520a2973c0 100644
(file)
--- 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;