diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-09-17 00:05:41 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-23 17:51:12 +0200 |
commit | 2fcea6cecbc965b4e02a39537d9d939f5251bbbd (patch) | |
tree | ccfc3423faa851c6231a26ce428962e2059b5fe4 /drivers/pinctrl/nomadik/pinctrl-nomadik.c | |
parent | driver:gpio remove all usage of gpio_remove retval in driver (diff) | |
download | linux-2fcea6cecbc965b4e02a39537d9d939f5251bbbd.tar.xz linux-2fcea6cecbc965b4e02a39537d9d939f5251bbbd.zip |
pinctrl: remove remaining users of gpiochip_remove() retval
Some drivers accidentally still use the return value from
gpiochip_remove(). Get rid of them so we can simplify this function
and get rid of the return value.
Cc: Abdoulaye Berthe <berthe.ab@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/nomadik/pinctrl-nomadik.c')
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/nomadik/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c index e7cab07eef47..4332b38c52ab 100644 --- a/drivers/pinctrl/nomadik/pinctrl-nomadik.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c @@ -1261,7 +1261,7 @@ static int nmk_gpio_probe(struct platform_device *dev) IRQ_TYPE_EDGE_FALLING); if (ret) { dev_err(&dev->dev, "could not add irqchip\n"); - ret = gpiochip_remove(&nmk_chip->chip); + gpiochip_remove(&nmk_chip->chip); return -ENODEV; } /* Then register the chain on the parent IRQ */ |