include/gpio.h: remove remaining __must_check-annotiations
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 14 Jan 2011 08:34:29 +0000 (09:34 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 16:06:39 +0000 (08:06 -0800)
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>
include/linux/gpio.h

index 4b47ed96f131b7273a5d3278bbceb22ed8f8b1ad..32720baf70f1c8f1e46741ff8006d44da82f6188 100644 (file)
@@ -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;
 }