aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/s3c2410_udc.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-11-21 18:13:10 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 17:34:48 -0500
commitd8d42233d4dd3b37623b27408316ffb8cf2b5e9b (patch)
treeee45f8cd8bbda951c6e34cf1164143584872a06f /drivers/usb/gadget/s3c2410_udc.c
parented8a5d49a0d4b5cf411a71476e6582f153df54e3 (diff)
USB: s3c2410_udc: minor irq handler cleanups
- 'irq' argument is merely used in place of a constant; replace its usage with that constant. Signed-off-by: Jeff Garzik <jgarzik@redhat.com> Cc: David Brownell <david-b@pacbell.net> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/s3c2410_udc.c')
-rw-r--r--drivers/usb/gadget/s3c2410_udc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/s3c2410_udc.c b/drivers/usb/gadget/s3c2410_udc.c
index 4ce050c3d13f..aadc4204d6f9 100644
--- a/drivers/usb/gadget/s3c2410_udc.c
+++ b/drivers/usb/gadget/s3c2410_udc.c
@@ -893,7 +893,7 @@ static void s3c2410_udc_handle_ep(struct s3c2410_ep *ep)
893/* 893/*
894 * s3c2410_udc_irq - interrupt handler 894 * s3c2410_udc_irq - interrupt handler
895 */ 895 */
896static irqreturn_t s3c2410_udc_irq(int irq, void *_dev) 896static irqreturn_t s3c2410_udc_irq(int dummy, void *_dev)
897{ 897{
898 struct s3c2410_udc *dev = _dev; 898 struct s3c2410_udc *dev = _dev;
899 int usb_status; 899 int usb_status;
@@ -1016,7 +1016,7 @@ static irqreturn_t s3c2410_udc_irq(int irq, void *_dev)
1016 } 1016 }
1017 } 1017 }
1018 1018
1019 dprintk(DEBUG_VERBOSE, "irq: %d s3c2410_udc_done.\n", irq); 1019 dprintk(DEBUG_VERBOSE, "irq: %d s3c2410_udc_done.\n", IRQ_USBD);
1020 1020
1021 /* Restore old index */ 1021 /* Restore old index */
1022 udc_write(idx, S3C2410_UDC_INDEX_REG); 1022 udc_write(idx, S3C2410_UDC_INDEX_REG);