gpio: sysfs: split irq allocation and deallocation
authorJohan Hovold <johan@kernel.org>
Mon, 4 May 2015 15:10:41 +0000 (17:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 May 2015 08:47:27 +0000 (10:47 +0200)
commit2ec74a959354dde38155e62f0af3ee0b1a7283ac
tree13ea7d1122a90e078c6dbb0489e553ebf128b820
parentb91e18076f0d3ff9b49322a5b8eee595a1e4c082
gpio: sysfs: split irq allocation and deallocation

Add separate helper functions for irq request and free.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-sysfs.c