gpiolib: remove gpiochip_reserve()
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 2 Feb 2013 14:44:06 +0000 (23:44 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Feb 2013 20:41:46 +0000 (21:41 +0100)
commit710b40eac4d91bd08f07f289cf6d6f3861c87187
treefdd5afda03ff86731faeb100ae9e5a7d55b767c7
parent6320c7b7990e1e759a18666b6c616aae9bd3b12d
gpiolib: remove gpiochip_reserve()

gpiochip_reserve() has no user and stands in the way of the removal of
the static gpio_desc[] array. Remove this function as well as the now
unneeded RESERVED flag of struct gpio_desc.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/asm-generic/gpio.h