Skip to content

Commit

Permalink
include/gpio.h: remove remaining __must_check-annotiations
Browse files Browse the repository at this point in the history
Commit 5f829e4 (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>
  • Loading branch information
Wolfram Sang authored and torvalds committed Jan 14, 2011
1 parent 836cb71 commit 323b7fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 323b7fe

Please sign in to comment.