gpio: fix compiler warning with blank return
authorBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 13 May 2014 21:57:28 +0000 (21:57 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 13 May 2014 21:57:28 +0000 (21:57 +0000)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/gpio/gpio.c

index 4a93d71..b63b4ac 100644 (file)
@@ -140,7 +140,7 @@ maa_gpio_interrupt_handler(void* arg)
         } else {
            // we must have got an error code so die nicely
             close(dev->isr_value_fp);
-           return;
+           return NULL;
         }
     }
 }