Fixed errors in gpio_irq_api.c