]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
pinctrl: npcm: Fix broken references to chip->parent_device
authorMarc Zyngier <maz@kernel.org>
Tue, 1 Feb 2022 12:03:08 +0000 (12:03 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:58:20 +0000 (11:58 +0200)
commit5ec8b9d10d9f5d747e10396e2c5f2ca5c9323366
tree42ff81831d3a2e79b762d24f262f44376d8639a6
parenta1d26771e27abac8548f4cecda9df2aed7b33136
pinctrl: npcm: Fix broken references to chip->parent_device

BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit f7e53e2255808ca3abcc8f38d18ad0823425e771 ]

The npcm driver has a bunch of references to the irq_chip parent_device
field, but never sets it.

Fix it by fishing that reference from somewhere else, but it is
obvious that these debug statements were never used. Also remove
an unused field in a local data structure.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Bartosz Golaszewski <brgl@bgdev.pl>
Link: https://lore.kernel.org/r/20220201120310.878267-11-maz@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 99780fcb5494a7e9498b7cf5fdacff7741724dec)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c