Change the irq_detach argument from isr to irq
authorpradeep.ns <pradeep.ns@samsung.com>
Thu, 11 May 2017 18:31:15 +0000 (00:01 +0530)
committerpradeep.ns <pradeep.ns@samsung.com>
Thu, 11 May 2017 18:31:15 +0000 (00:01 +0530)
irq_detach API expects irq as argument but naming it as isr
is confusing. Change it to appropriate name as irq

Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
os/include/tinyara/irq.h

index 6a643d6..f973b79 100644 (file)
@@ -68,7 +68,7 @@
  */
 
 #ifndef __ASSEMBLY__
-#define irq_detach(isr) irq_attach(isr, NULL, NULL)
+#define irq_detach(irq) irq_attach(irq, NULL, NULL)
 #endif
 
 /****************************************************************************