GPIO: add bindings for managed devices
authorJohn Crispin <blogic@openwrt.org>
Tue, 20 Dec 2011 20:40:21 +0000 (21:40 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 4 Jan 2012 18:37:42 +0000 (11:37 -0700)
commit1a0703ede4493bd74f9c6b53f782b749e175a88e
treeee86f6148f53af7ddcc329a28f45d7679642780d
parente198a8de14d4bb122b821432fadb28eedd4b4507
GPIO: add bindings for managed devices

This patch adds 2 functions that allow managed devices to request GPIOs.
These GPIOs will then be managed by drivers/base/devres.c.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/Makefile
drivers/gpio/devres.c [new file with mode: 0644]
include/asm-generic/gpio.h