提交 323b7fe8 编写于 作者: W Wolfram Sang 提交者: Linus Torvalds

include/gpio.h: remove remaining __must_check-annotiations

Commit 5f829e40 (gpiolib: add missing functions
to generic fallback) also introduced two.
Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
Cc: Greg KH <gregkh@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 836cb711
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册