]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: dln2: use bus_sync_unlock instead of scheduling work
authorOctavian Purdila <octavian.purdila@intel.com>
Thu, 11 Dec 2014 13:02:30 +0000 (15:02 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Jan 2015 06:57:35 +0000 (07:57 +0100)
commit9424d76fe1cb4b3dd5aee5e2ad598faaed6dc557
treeb4811790b7d657ef761dc59c7d2a28534c4e1ae7
parent8fffb0b6563f5f6a9231e343859f6ebe1f2c1b58
gpio: dln2: use bus_sync_unlock instead of scheduling work

Use the irq_chip bus_sync_unlock method to update hardware registers
instead of scheduling work from the mask/unmask methods. This simplifies
a bit the driver and make it more uniform with the other GPIO IRQ
drivers.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-dln2.c