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)
commit96b932b84409a5c1037827b4432a2b53adc09a61
treeb4811790b7d657ef761dc59c7d2a28534c4e1ae7
parent879828c6ade916d13a5187eb02546899c2cd496c
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