mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
MIPS: EMMA2RH: Use set_irq_chip_and_handler_name
Fix two remaining set_irq_chip_and_handler() users which are encourated to migrate to set_irq_chip_and_handler_name(). Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
8da55bb258
commit
ae3c1d3771
1 changed files with 6 additions and 6 deletions
|
@ -80,9 +80,9 @@ void emma2rh_irq_init(void)
|
||||||
u32 i;
|
u32 i;
|
||||||
|
|
||||||
for (i = 0; i < NUM_EMMA2RH_IRQ; i++)
|
for (i = 0; i < NUM_EMMA2RH_IRQ; i++)
|
||||||
set_irq_chip_and_handler(EMMA2RH_IRQ_BASE + i,
|
set_irq_chip_and_handler_name(EMMA2RH_IRQ_BASE + i,
|
||||||
&emma2rh_irq_controller,
|
&emma2rh_irq_controller,
|
||||||
handle_level_irq);
|
handle_level_irq, "level");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void emma2rh_sw_irq_enable(unsigned int irq)
|
static void emma2rh_sw_irq_enable(unsigned int irq)
|
||||||
|
@ -120,9 +120,9 @@ void emma2rh_sw_irq_init(void)
|
||||||
u32 i;
|
u32 i;
|
||||||
|
|
||||||
for (i = 0; i < NUM_EMMA2RH_IRQ_SW; i++)
|
for (i = 0; i < NUM_EMMA2RH_IRQ_SW; i++)
|
||||||
set_irq_chip_and_handler(EMMA2RH_SW_IRQ_BASE + i,
|
set_irq_chip_and_handler_name(EMMA2RH_SW_IRQ_BASE + i,
|
||||||
&emma2rh_sw_irq_controller,
|
&emma2rh_sw_irq_controller,
|
||||||
handle_level_irq);
|
handle_level_irq, "level");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void emma2rh_gpio_irq_enable(unsigned int irq)
|
static void emma2rh_gpio_irq_enable(unsigned int irq)
|
||||||
|
|
Loading…
Add table
Reference in a new issue