Shawn Guo 6a89a314ab gpio: devm_gpio_* support should not depend on GPIOLIB
Some architectures (e.g. blackfin) provide gpio API without requiring
GPIOLIB support (ARCH_WANT_OPTIONAL_GPIOLIB).  devm_gpio_* functions
should also work for these architectures, since they do not really
depend on GPIOLIB.

Add a new option GPIO_DEVRES (enabled by default) to control the build
of devres.c.  It also removes the empty version of devm_gpio_*
functions for !GENERIC_GPIO build from linux/gpio.h, and moves the
function declarations from asm-generic/gpio.h into linux/gpio.h.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-01-22 10:23:35 +01:00
..
2012-07-05 14:49:13 +02:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-10-15 20:50:14 +02:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:59 -08:00
2012-12-19 22:13:08 +00:00
2011-06-06 10:10:11 -06:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:33 -08:00
2012-12-11 13:13:55 -08:00
2012-12-11 13:13:55 -08:00
2012-12-11 13:13:55 -08:00
2012-11-30 11:12:07 +00:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:33 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:59 -08:00
2012-12-11 13:13:55 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-30 12:37:36 +01:00