]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
genirq: Remove __irq_set_chip_handler_name_locked()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2015 10:36:04 +0000 (12:36 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2015 10:55:15 +0000 (12:55 +0200)
All users converted to irq_set_chip_handler_name_locked()

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irqdesc.h

index 0593c691d09119ae687ad4b9027a3803f3aa2fe7..29741382593c225947f0ff44e6ffd1a15f8fe895 100644 (file)
@@ -184,19 +184,6 @@ static inline void __irq_set_handler_locked(unsigned int irq,
        desc->handle_irq = handler;
 }
 
-/* caller has locked the irq_desc and both params are valid */
-static inline void
-__irq_set_chip_handler_name_locked(unsigned int irq, struct irq_chip *chip,
-                                  irq_flow_handler_t handler, const char *name)
-{
-       struct irq_desc *desc;
-
-       desc = irq_to_desc(irq);
-       irq_desc_get_irq_data(desc)->chip = chip;
-       desc->handle_irq = handler;
-       desc->name = name;
-}
-
 /**
  * irq_set_handler_locked - Set irq handler from a locked region
  * @data:      Pointer to the irq_data structure which identifies the irq