greybus: gpio: handle set_irq_flags api change
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 13 Oct 2015 09:27:58 +0000 (11:27 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 14 Oct 2015 19:15:45 +0000 (12:15 -0700)
commit0010245e2c6e431f24c1d80521866f963e148c03
tree35e6c70b3c022bd445f812387e8b9db480c6867b
parent650f38e3160aeaaa77c9e689850ba4c4f78ecb2e
greybus: gpio: handle set_irq_flags api change

The ARM-specific set_irq_flags helper has been removed in 4.3. Instead
of doing conditional compilation on the kernel version to avoid build
breakages, simply use the genirq interface directly.

Suggested-by: Rob Herring <rob.herring@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/gpio.c