summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-02-02 18:44:06 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-02-05 00:41:46 +0400
commit710b40eac4d91bd08f07f289cf6d6f3861c87187 (patch)
treefdd5afda03ff86731faeb100ae9e5a7d55b767c7 /include/asm-generic
parent6320c7b7990e1e759a18666b6c616aae9bd3b12d (diff)
downloadlinux-710b40eac4d91bd08f07f289cf6d6f3861c87187.tar.xz
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>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/gpio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 45b8916805f3..2034e691c7ab 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -152,7 +152,6 @@ struct gpio_chip {
extern const char *gpiochip_is_requested(struct gpio_chip *chip,
unsigned offset);
extern struct gpio_chip *gpio_to_chip(unsigned gpio);
-extern int __must_check gpiochip_reserve(int start, int ngpio);
/* add/remove chips */
extern int gpiochip_add(struct gpio_chip *chip);