summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-02-13 14:14:09 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-02-14 09:03:37 +0100
commit7f2f787c10596f486644d730a0a23e78abe8cbe0 (patch)
tree7cc915b6d9bedd9243062064b718ccc2f1105030 /drivers/pinctrl
parent92de6bc3a82df2e745c46155e8334659f871ea6f (diff)
downloadlinux-7f2f787c10596f486644d730a0a23e78abe8cbe0.tar.bz2
gpio: pcf857x: Simpify wake-up handling
Unlike gpio_rcar_irq_set_wake(), which this solution was based on, pcf857x_irq_set_wake() does not need to do anything else than calling irq_set_irq_wake() for the upstream interrupt controller. Hence there is no reason for making this call conditional, and no longer a need for keeping a copy of the interrupt number that also serves as a flag. Just propagate irq_set_irq_wake() to the upstream interrupt controller, using the original interrupt number. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions