]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: amd: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Jul 2020 10:15:45 +0000 (12:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 10:07:32 +0000 (12:07 +0200)
commitf1b82b0bb25d5f2a09dd7b0e9ca595bdd077775d
treeee93e86c8954b951b6ff93f3ea5fb95d4e90d46f
parentdccd55c0279ebdf1345b43ca88f71448a2495f14
pinctrl: amd: Use irqchip template

[ Upstream commit 8bafe4febe9fb724384f83dbd49aceeb85d32e6e ]

This makes the driver use the irqchip template to assign
properties to the gpio_irq_chip instead of using the
explicit call to gpiochip_irqchip_add().

The irqchip is instead added while adding the gpiochip.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Cc: Sandeep Singh <sandeep.singh@amd.com>
Link: https://lore.kernel.org/r/20200722101545.144373-1-linus.walleij@linaro.org
Stable-dep-of: b26cd9325be4 ("pinctrl: amd: Disable and mask interrupts on resume")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/pinctrl-amd.c