Messages in this thread | | | Date | Wed, 23 Jul 2014 17:45:18 +0200 | Subject | Re: [PATCH 4/5] gpio: remove gpiod_lock/unlock_as_irq() | From | Linus Walleij <> |
| |
On Tue, Jul 22, 2014 at 9:17 AM, Alexandre Courbot <acourbot@nvidia.com> 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 since the (chip, offset) tuple is more suitable > to the users of these functions (GPIO drivers, whereas GPIO descriptors > are targeted at GPIO consumers). > > Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Argh the mess is likely my fault for not having wrapped my head around descriptors properly at the time.
Patch applied, naturally.
Yours, Linus Walleij
| |