diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-01-14 11:34:29 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-14 19:06:39 +0300 |
commit | 323b7fe8f8f6d5ac6214382cf30e8b3a80b265c9 (patch) | |
tree | 537e4b8a2c528f8bd2a71f954e01b71e26ff231c /include/linux/gpio.h | |
parent | 836cb711ad7960e52625b24195d6e70b79ab0816 (diff) | |
download | linux-323b7fe8f8f6d5ac6214382cf30e8b3a80b265c9.tar.xz |
include/gpio.h: remove remaining __must_check-annotiations
Commit 5f829e405ec4e96f711165a4a7b55c271d4363e2 (gpiolib: add missing functions
to generic fallback) also introduced two.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Greg KH <gregkh@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/gpio.h')
-rw-r--r-- | include/linux/gpio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/gpio.h b/include/linux/gpio.h index 4b47ed96f131..32720baf70f1 100644 --- a/include/linux/gpio.h +++ b/include/linux/gpio.h @@ -35,13 +35,13 @@ static inline int gpio_request(unsigned gpio, const char *label) return -ENOSYS; } -static inline int __must_check gpio_request_one(unsigned gpio, +static inline int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) { return -ENOSYS; } -static inline int __must_check gpio_request_array(struct gpio *array, size_t num) +static inline int gpio_request_array(struct gpio *array, size_t num) { return -ENOSYS; } |