summaryrefslogtreecommitdiffstats
path: root/include/linux/gpio.h
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2011-01-14 09:34:29 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-14 08:06:39 -0800
commit323b7fe8f8f6d5ac6214382cf30e8b3a80b265c9 (patch)
tree537e4b8a2c528f8bd2a71f954e01b71e26ff231c /include/linux/gpio.h
parent836cb711ad7960e52625b24195d6e70b79ab0816 (diff)
downloadop-kernel-dev-323b7fe8f8f6d5ac6214382cf30e8b3a80b265c9.zip
op-kernel-dev-323b7fe8f8f6d5ac6214382cf30e8b3a80b265c9.tar.gz
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 4b47ed9..32720ba 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;
}
OpenPOWER on IntegriCloud