Alexandre Courbot 79a9becda8 gpiolib: export descriptor-based GPIO interface
This patch exports the gpiod_* family of API functions, a safer
alternative to the legacy GPIO interface. Differences between the gpiod
and legacy gpio APIs are:

- gpio works with integers, whereas gpiod operates on opaque handlers
  which cannot be forged or used before proper acquisition
- gpiod get/set functions are aware of the active low state of a GPIO
- gpio consumers should now include <linux/gpio/consumer.h> to access
  the new interface, whereas chips drivers will use
  <linux/gpio/driver.h>

The legacy gpio API is now built as inline functions on top of gpiod.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-10-19 23:24:45 +02:00
..
2013-10-11 07:31:47 +05:30
2013-09-03 11:37:15 -07:00
2013-10-07 17:08:26 +02:00
2013-09-09 16:35:29 -07:00
2013-10-16 03:17:47 +01:00
2013-09-06 13:30:06 -07:00
2013-09-13 15:09:52 +02:00
2013-10-16 10:05:53 +02:00
2013-09-13 15:09:52 +02:00
2013-09-27 14:15:27 +02:00
2013-09-06 13:21:16 -07:00
2013-10-16 10:05:53 +02:00
2013-10-16 13:22:16 -07:00
2013-09-03 11:37:15 -07:00
2013-09-26 15:33:23 +03:00
2013-09-25 15:50:53 -07:00