diff options
author | abdoulaye berthe <berthe.ab@gmail.com> | 2014-07-05 20:28:50 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-23 19:51:36 +0400 |
commit | e1db1706c86ee455f25eeaeadeda827e1e02310f (patch) | |
tree | 5ac9a8c7397a911a5f8eacff25625fb4548fa43b /include/linux/gpio/driver.h | |
parent | e27e278608d0dca1b97abea3c1855beafcc68bcb (diff) | |
download | linux-e1db1706c86ee455f25eeaeadeda827e1e02310f.tar.xz |
gpio: gpiolib: set gpiochip_remove retval to void
This avoids handling gpiochip remove error in device
remove handler.
Signed-off-by: Abdoulaye Berthe <berthe.ab@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/gpio/driver.h')
-rw-r--r-- | include/linux/gpio/driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index a2de58fffd19..560bf7fa614f 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -141,7 +141,7 @@ extern const char *gpiochip_is_requested(struct gpio_chip *chip, /* add/remove chips */ extern int gpiochip_add(struct gpio_chip *chip); -extern int gpiochip_remove(struct gpio_chip *chip); +extern void gpiochip_remove(struct gpio_chip *chip); extern struct gpio_chip *gpiochip_find(void *data, int (*match)(struct gpio_chip *chip, void *data)); |