aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ssb/driver_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ssb/driver_gpio.c')
-rw-r--r--drivers/ssb/driver_gpio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ssb/driver_gpio.c b/drivers/ssb/driver_gpio.c
index ba350d2035c0..f92e266d48f8 100644
--- a/drivers/ssb/driver_gpio.c
+++ b/drivers/ssb/driver_gpio.c
@@ -475,7 +475,8 @@ int ssb_gpio_unregister(struct ssb_bus *bus)
475{ 475{
476 if (ssb_chipco_available(&bus->chipco) || 476 if (ssb_chipco_available(&bus->chipco) ||
477 ssb_extif_available(&bus->extif)) { 477 ssb_extif_available(&bus->extif)) {
478 return gpiochip_remove(&bus->gpio); 478 gpiochip_remove(&bus->gpio);
479 return 0;
479 } else { 480 } else {
480 SSB_WARN_ON(1); 481 SSB_WARN_ON(1);
481 } 482 }