From: Alexandre Courbot Date: Sat, 2 Feb 2013 16:29:29 +0000 (+0900) Subject: gpiolib: use descriptors internally X-Git-Tag: v3.9-rc1~76^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=372e722ea4dd4ca11c3d04845e11cbc15f32144c;p=pandora-kernel.git gpiolib: use descriptors internally Make sure gpiolib works internally with descriptors and (chip, offset) pairs instead of using the global integer namespace. This prepares the ground for the removal of the global gpio_desc[] array and the introduction of the descriptor-based GPIO API. Signed-off-by: Alexandre Courbot Reviewed-by: Linus Walleij [grant.likely: Squash in fix for link error when CONFIG_SYSFS=n] Signed-off-by: Grant Likely --- Reading git-diff-tree failed