aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gpio.h
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2011-01-14 03:34:29 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-14 11:06:39 -0500
commit323b7fe8f8f6d5ac6214382cf30e8b3a80b265c9 (patch)
tree537e4b8a2c528f8bd2a71f954e01b71e26ff231c /include/linux/gpio.h
parent836cb711ad7960e52625b24195d6e70b79ab0816 (diff)
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.h4
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)
35 return -ENOSYS; 35 return -ENOSYS;
36} 36}
37 37
38static inline int __must_check gpio_request_one(unsigned gpio, 38static inline int gpio_request_one(unsigned gpio,
39 unsigned long flags, const char *label) 39 unsigned long flags, const char *label)
40{ 40{
41 return -ENOSYS; 41 return -ENOSYS;
42} 42}
43 43
44static inline int __must_check gpio_request_array(struct gpio *array, size_t num) 44static inline int gpio_request_array(struct gpio *array, size_t num)
45{ 45{
46 return -ENOSYS; 46 return -ENOSYS;
47} 47}