Commit e2f28f66 authored by Marc Zyngier's avatar Marc Zyngier Committed by Zheng Zengkai
Browse files

pinctrl: npcm: Fix broken references to chip->parent_device

stable inclusion
from stable-v5.10.110
commit 79b16d00de175166f52bdccea54c5ca5eb9296a2
bugzilla: https://gitee.com/openeuler/kernel/issues/I574AL

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=79b16d00de175166f52bdccea54c5ca5eb9296a2



--------------------------------

[ Upstream commit f7e53e22 ]

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: default avatarMarc Zyngier <maz@kernel.org>
Acked-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Link: https://lore.kernel.org/r/20220201120310.878267-11-maz@kernel.org


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 496f007c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment