Re: [PATCH 4/5] gpio: remove gpiod_lock/unlock_as_irq()

2014-07-23 Thread Linus Walleij
On Tue, Jul 22, 2014 at 9:17 AM, Alexandre Courbot wrote: > gpio_lock/unlock_as_irq() are working with (chip, offset) arguments and > are thus not using the old integer namespace. Therefore, there is no > reason to have gpiod variants of these functions working with > descriptors, especially sinc

[PATCH 4/5] gpio: remove gpiod_lock/unlock_as_irq()

2014-07-22 Thread Alexandre Courbot
gpio_lock/unlock_as_irq() are working with (chip, offset) arguments and are thus not using the old integer namespace. Therefore, there is no reason to have gpiod variants of these functions working with descriptors, especially since the (chip, offset) tuple is more suitable to the users of these fu