]> 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)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Aug 2020 23:29:10 +0000 (01:29 +0200)
commit8bafe4febe9fb724384f83dbd49aceeb85d32e6e
tree98031333eb425e3a2cb7162507a36935feee54da
parent5826bbdea2aa27bb8cb1f0d193eb351bf45b84ea
pinctrl: amd: Use irqchip template

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
drivers/pinctrl/pinctrl-amd.c