summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-09-16 12:36:04 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-09-16 12:55:15 +0200
commite902e14549e04c040fb6e15785efd35f810a223a (patch)
treeebb4c84b940279f274c77e935eae011cb0392cfa
parentpinctrl: sunxi: Use irq_set_chip_handler_name_locked() (diff)
downloadlinux-e902e14549e04c040fb6e15785efd35f810a223a.tar.xz
linux-e902e14549e04c040fb6e15785efd35f810a223a.zip
genirq: Remove __irq_set_chip_handler_name_locked()
All users converted to irq_set_chip_handler_name_locked() Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--include/linux/irqdesc.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h
index 0593c691d091..29741382593c 100644
--- a/include/linux/irqdesc.h
+++ b/include/linux/irqdesc.h
@@ -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