mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
include/gpio.h: remove remaining __must_check-annotiations
Commit 5f829e405e
(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>
This commit is contained in:
parent
836cb711ad
commit
323b7fe8f8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user