From: Wolfram Sang Date: Fri, 14 Jan 2011 08:34:29 +0000 (+0100) Subject: include/gpio.h: remove remaining __must_check-annotiations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=323b7fe8f8f6d5ac6214382cf30e8b3a80b265c9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Greg KH Cc: Andrew Morton Signed-off-by: Linus Torvalds --- 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; }