Staging: ipack/bridges/tpci200: remove name field from slot_irq
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 23 May 2012 13:54:46 +0000 (15:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:14:08 +0000 (14:14 +0900)
This field is not needed at all, as the IRQ is registered for the carrier not
for the mezzanine.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/bridges/tpci200.c
drivers/staging/ipack/bridges/tpci200.h

index 24070a3ff21008f60cded4d364f8e3b8bd1aa007..96bfe5b3ca2390a3fd169f9ad52068cae43697b8 100644 (file)
@@ -750,7 +750,6 @@ static int tpci200_request_irq(struct ipack_device *dev, int vector,
        slot_irq->vector = vector;
        slot_irq->handler = handler;
        slot_irq->arg = arg;
-       slot_irq->name = dev_name(&dev->dev);
 
        tpci200->slots[dev->slot].irq = slot_irq;
        res = __tpci200_request_irq(tpci200, dev);
index eedb00756206543081ead07f94be410bdc4fd7cd..97ff0d6636b617778273679ce6a9a82e392be30e 100644 (file)
  * @vector     Vector number
  * @handler    Handler called when IRQ arrives
  * @arg                Handler argument
- * @name       IRQ name
  *
  */
 struct slot_irq {
        int             vector;
        int             (*handler)(void *);
        void            *arg;
-       const char      *name;
 };
 
 /**