driver:gpio remove all usage of gpio_remove retval in driver

this remove all reference to gpio_remove retval in all driver
except pinctrl and gpio. the same thing is done for gpio and
pinctrl in two different patches.

Signed-off-by: Abdoulaye Berthe <[email protected]>
Acked-by: Michael Büsch <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
abdoulaye berthe 2014-07-12 22:30:14 +02:00 • committed by Linus Walleij
commit 88d5e520aa
27 changed files with 52 additions and 129 deletions

View file

@ -475,7 +475,8 @@ int ssb_gpio_unregister(struct ssb_bus *bus)
{
if (ssb_chipco_available(&bus->chipco) ||
ssb_extif_available(&bus->extif)) {
return gpiochip_remove(&bus->gpio);
gpiochip_remove(&bus->gpio);
return 0;
} else {
SSB_WARN_ON(1);
}