[parisc-linux-cvs] remove duplicate request_irq from hp_psaux.c
Richard Hirst
rhirst@linuxcare.com
Tue, 18 Sep 2001 20:02:36 +0100
Index: drivers/char/hp_psaux.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/char/hp_psaux.c,v
retrieving revision 1.14
diff -u -r1.14 hp_psaux.c
--- hp_psaux.c 2001/09/13 18:02:20 1.14
+++ hp_psaux.c 2001/09/18 18:54:48
@@ -569,13 +569,6 @@
#endif
} /* of case */
- /* allocate the irq and memory region for that device */
- if (!(irq = busdevice_alloc_irq(dev)))
- return -ENODEV;
-
- if (request_irq(irq, lasikbd_interrupt, 0, name, (void *)hpa))
- return -ENODEV;
-
printk(KERN_INFO "PS/2 %s port at 0x%08lx (irq %d) found, "
"%sdevice attached.\n",
name, hpa, irq, device_found ? "":"no ");