summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-29 12:22:31 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-29 12:22:31 -0600
commit9c2e57179169b6cff802685b622ded10bed6bd5f (patch)
tree92f0b132167654cd2c3d4cf3a77e88b3bc616798
parent506e660018db40873b8f97bec663e29bbd2b030e (diff)
downloadnuttx-9c2e57179169b6cff802685b622ded10bed6bd5f.tar.gz
nuttx-9c2e57179169b6cff802685b622ded10bed6bd5f.tar.bz2
nuttx-9c2e57179169b6cff802685b622ded10bed6bd5f.zip
Fix some comments: Remove button description from GPIO interrupt handlers that derive from the button interrupt handler
-rw-r--r--nuttx/configs/sama5d3-xplained/src/sam_ethernet.c4
-rw-r--r--nuttx/configs/sama5d3-xplained/src/sam_usb.c4
-rw-r--r--nuttx/configs/sama5d3x-ek/src/sam_ethernet.c4
-rw-r--r--nuttx/configs/sama5d3x-ek/src/sam_usb.c4
-rw-r--r--nuttx/configs/sama5d4-ek/src/sam_ethernet.c4
-rw-r--r--nuttx/configs/sama5d4-ek/src/sam_usb.c4
6 files changed, 12 insertions, 12 deletions
diff --git a/nuttx/configs/sama5d3-xplained/src/sam_ethernet.c b/nuttx/configs/sama5d3-xplained/src/sam_ethernet.c
index 2307410a3..9a14e3d63 100644
--- a/nuttx/configs/sama5d3-xplained/src/sam_ethernet.c
+++ b/nuttx/configs/sama5d3-xplained/src/sam_ethernet.c
@@ -317,7 +317,7 @@ xcpt_t arch_phy_irq(FAR const char *intf, xcpt_t handler, phy_enable_t *enable)
flags = irqsave();
- /* Get the old button interrupt handler and save the new one */
+ /* Get the old interrupt handler and save the new one */
oldhandler = *phandler;
*phandler = handler;
@@ -350,7 +350,7 @@ xcpt_t arch_phy_irq(FAR const char *intf, xcpt_t handler, phy_enable_t *enable)
*enable = enabler;
}
- /* Return the old button handler (so that it can be restored) */
+ /* Return the old handler (so that it can be restored) */
irqrestore(flags);
return oldhandler;
diff --git a/nuttx/configs/sama5d3-xplained/src/sam_usb.c b/nuttx/configs/sama5d3-xplained/src/sam_usb.c
index 1105d8809..29f7dfc7f 100644
--- a/nuttx/configs/sama5d3-xplained/src/sam_usb.c
+++ b/nuttx/configs/sama5d3-xplained/src/sam_usb.c
@@ -486,7 +486,7 @@ xcpt_t sam_setup_overcurrent(xcpt_t handler)
flags = irqsave();
- /* Get the old button interrupt handler and save the new one */
+ /* Get the old interrupt handler and save the new one */
oldhandler = g_ochandler;
g_ochandler = handler;
@@ -497,7 +497,7 @@ xcpt_t sam_setup_overcurrent(xcpt_t handler)
(void)irq_attach(IRQ_USBBC_VBUS_OVERCURRENT, handler);
sam_pioirqenable(IRQ_USBBC_VBUS_OVERCURRENT);
- /* Return the old button handler (so that it can be restored) */
+ /* Return the old handler (so that it can be restored) */
irqrestore(flags);
return oldhandler;
diff --git a/nuttx/configs/sama5d3x-ek/src/sam_ethernet.c b/nuttx/configs/sama5d3x-ek/src/sam_ethernet.c
index e2a252e45..ccc5e2e28 100644
--- a/nuttx/configs/sama5d3x-ek/src/sam_ethernet.c
+++ b/nuttx/configs/sama5d3x-ek/src/sam_ethernet.c
@@ -317,7 +317,7 @@ xcpt_t arch_phy_irq(FAR const char *intf, xcpt_t handler, phy_enable_t *enable)
flags = irqsave();
- /* Get the old button interrupt handler and save the new one */
+ /* Get the old interrupt handler and save the new one */
oldhandler = *phandler;
*phandler = handler;
@@ -350,7 +350,7 @@ xcpt_t arch_phy_irq(FAR const char *intf, xcpt_t handler, phy_enable_t *enable)
*enable = enabler;
}
- /* Return the old button handler (so that it can be restored) */
+ /* Return the old handler (so that it can be restored) */
irqrestore(flags);
return oldhandler;
diff --git a/nuttx/configs/sama5d3x-ek/src/sam_usb.c b/nuttx/configs/sama5d3x-ek/src/sam_usb.c
index 7104253cd..f46da45e7 100644
--- a/nuttx/configs/sama5d3x-ek/src/sam_usb.c
+++ b/nuttx/configs/sama5d3x-ek/src/sam_usb.c
@@ -486,7 +486,7 @@ xcpt_t sam_setup_overcurrent(xcpt_t handler)
flags = irqsave();
- /* Get the old button interrupt handler and save the new one */
+ /* Get the old interrupt handler and save the new one */
oldhandler = g_ochandler;
g_ochandler = handler;
@@ -497,7 +497,7 @@ xcpt_t sam_setup_overcurrent(xcpt_t handler)
(void)irq_attach(IRQ_USBBC_VBUS_OVERCURRENT, handler);
sam_pioirqenable(IRQ_USBBC_VBUS_OVERCURRENT);
- /* Return the old button handler (so that it can be restored) */
+ /* Return the old handler (so that it can be restored) */
irqrestore(flags);
return oldhandler;
diff --git a/nuttx/configs/sama5d4-ek/src/sam_ethernet.c b/nuttx/configs/sama5d4-ek/src/sam_ethernet.c
index a2eb1b1c5..6c9c4b890 100644
--- a/nuttx/configs/sama5d4-ek/src/sam_ethernet.c
+++ b/nuttx/configs/sama5d4-ek/src/sam_ethernet.c
@@ -286,7 +286,7 @@ xcpt_t arch_phy_irq(FAR const char *intf, xcpt_t handler, phy_enable_t *enable)
flags = irqsave();
- /* Get the old button interrupt handler and save the new one */
+ /* Get the old interrupt handler and save the new one */
oldhandler = *phandler;
*phandler = handler;
@@ -319,7 +319,7 @@ xcpt_t arch_phy_irq(FAR const char *intf, xcpt_t handler, phy_enable_t *enable)
*enable = enabler;
}
- /* Return the old button handler (so that it can be restored) */
+ /* Return the old handler (so that it can be restored) */
irqrestore(flags);
return oldhandler;
diff --git a/nuttx/configs/sama5d4-ek/src/sam_usb.c b/nuttx/configs/sama5d4-ek/src/sam_usb.c
index f8d2da7d2..1d34bd84e 100644
--- a/nuttx/configs/sama5d4-ek/src/sam_usb.c
+++ b/nuttx/configs/sama5d4-ek/src/sam_usb.c
@@ -487,7 +487,7 @@ xcpt_t sam_setup_overcurrent(xcpt_t handler)
flags = irqsave();
- /* Get the old button interrupt handler and save the new one */
+ /* Get the old interrupt handler and save the new one */
oldhandler = g_ochandler;
g_ochandler = handler;
@@ -498,7 +498,7 @@ xcpt_t sam_setup_overcurrent(xcpt_t handler)
(void)irq_attach(IRQ_USBBC_VBUS_OVERCURRENT, handler);
sam_pioirqenable(IRQ_USBBC_VBUS_OVERCURRENT);
- /* Return the old button handler (so that it can be restored) */
+ /* Return the old handler (so that it can be restored) */
irqrestore(flags);
return oldhandler;