diff options
author | abdoulaye berthe <berthe.ab@gmail.com> | 2014-07-12 16:30:13 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-07-22 10:34:12 -0400 |
commit | b4e7c55dabf611cf5cccd1554fec06f72e1c9faf (patch) | |
tree | 12c6b87eeddbeda9fb80c3e61dbdd2037778a283 /drivers/pinctrl/spear | |
parent | 144ef62645a7725a0a442129a8750baf257e88b9 (diff) |
pinctrl: remove all usage of gpio_remove ret val in driver/pinctl
Signed-off-by: abdoulaye berthe <berthe.ab@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/spear')
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-plgpio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-plgpio.c b/drivers/pinctrl/spear/pinctrl-plgpio.c index 3a20cdc65810..bddb79105d67 100644 --- a/drivers/pinctrl/spear/pinctrl-plgpio.c +++ b/drivers/pinctrl/spear/pinctrl-plgpio.c | |||
@@ -606,8 +606,7 @@ static int plgpio_probe(struct platform_device *pdev) | |||
606 | 606 | ||
607 | remove_gpiochip: | 607 | remove_gpiochip: |
608 | dev_info(&pdev->dev, "Remove gpiochip\n"); | 608 | dev_info(&pdev->dev, "Remove gpiochip\n"); |
609 | if (gpiochip_remove(&plgpio->chip)) | 609 | gpiochip_remove(&plgpio->chip); |
610 | dev_err(&pdev->dev, "unable to remove gpiochip\n"); | ||
611 | unprepare_clk: | 610 | unprepare_clk: |
612 | if (!IS_ERR(plgpio->clk)) | 611 | if (!IS_ERR(plgpio->clk)) |
613 | clk_unprepare(plgpio->clk); | 612 | clk_unprepare(plgpio->clk); |