]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: hlwd: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Aug 2019 14:00:05 +0000 (16:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Aug 2019 07:57:29 +0000 (09:57 +0200)
commit733cc19334cf45cdab303d8ea6ffd0dfb7917879
tree70de03c058a4b32a7fa02949dc0ca18e7cbc1ad7
parentb3a42be070f58d70b1ed3654bad22f5a74be0c31
gpio: hlwd: Pass irqchip when adding gpiochip

We need to convert all old gpio irqchips to pass the irqchip
setup along when adding the gpio_chip. For more info see
drivers/gpio/TODO.

For chained irqchips this is a pretty straight-forward
conversion.

Cc: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20190809140005.11654-1-linus.walleij@linaro.org
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Tested-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-hlwd.c