]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: sysfs: only call irq helper if needed
authorJohan Hovold <johan@kernel.org>
Mon, 4 May 2015 15:10:40 +0000 (17:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 May 2015 08:47:23 +0000 (10:47 +0200)
commit62f11825c88477d109d41255e9fe7db097db11ae
tree7157afd79213f55aa2ed3d0a5fa63cf1f9014169
parentd400f7ac4f1a3b920a9ce28c73c381dd872849b3
gpio: sysfs: only call irq helper if needed

Only call irq helper if actually reconfiguring interrupt state.

This is a preparatory step in introducing separate gpio-irq request and
free functions.

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