From: Alexandre Courbot Date: Sat, 2 Feb 2013 16:29:30 +0000 (+0900) Subject: gpiolib: let gpio_chip reference its descriptors X-Git-Tag: v3.9-rc1~76^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c0b4e6c85d085bd92966bc2b8da73e2d7f35929;p=pandora-kernel.git gpiolib: let gpio_chip reference its descriptors Add a pointer to the gpio_chip structure that references the array of GPIO descriptors belonging to the chip, and update gpiolib code to use this pointer instead of the global gpio_desc[] array. This is another step towards the removal of the gpio_desc[] global array. Signed-off-by: Alexandre Courbot Reviewed-by: Linus Walleij Signed-off-by: Grant Likely --- Reading git-diff-tree failed