gpio: rcar: set IRQ chip parent_device
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 8 Dec 2016 17:32:27 +0000 (18:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 28 Dec 2016 00:31:09 +0000 (01:31 +0100)
commit47bd38a31adcd5b92f5e11919a101a310305dbb1
tree05867203cd371f788094c2f118b17793bcb78634
parent7ce7d89f48834cefece7804d38fc5d85382edf77
gpio: rcar: set IRQ chip parent_device

This enables Runtime PM handling for interrupts.

By setting the parent_device in struct irq_chip genirq will call the
pm_runtime_get/put APIs when an IRQ is requested/freed.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rcar.c