gpio: lynxpoint: avoid potential warning on error path
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 19 Jun 2016 16:06:44 +0000 (19:06 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Jun 2016 09:07:14 +0000 (11:07 +0200)
commit7eebe96f22e7968656a64458620f5cdabee8903c
tree13c77722d95f23a9e5617a9f0da796a681d77345
parent53499109289846ac115ff2cfc78f0637df5b473d
gpio: lynxpoint: avoid potential warning on error path

When devres API is in use we are not supposed to call plain gpiochip_remove().
Remove redundant call to gpiochip_remove().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lynxpoint.c