diff options
Diffstat (limited to 'drivers/irqchip/irq-sun4i.c')
-rw-r--r-- | drivers/irqchip/irq-sun4i.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/irqchip/irq-sun4i.c b/drivers/irqchip/irq-sun4i.c index 376b28074e0d..e3e5b9132b75 100644 --- a/drivers/irqchip/irq-sun4i.c +++ b/drivers/irqchip/irq-sun4i.c | |||
@@ -97,8 +97,8 @@ static int __init sun4i_of_init(struct device_node *node, | |||
97 | { | 97 | { |
98 | sun4i_irq_base = of_iomap(node, 0); | 98 | sun4i_irq_base = of_iomap(node, 0); |
99 | if (!sun4i_irq_base) | 99 | if (!sun4i_irq_base) |
100 | panic("%s: unable to map IC registers\n", | 100 | panic("%pOF: unable to map IC registers\n", |
101 | node->full_name); | 101 | node); |
102 | 102 | ||
103 | /* Disable all interrupts */ | 103 | /* Disable all interrupts */ |
104 | writel(0, sun4i_irq_base + SUN4I_IRQ_ENABLE_REG(0)); | 104 | writel(0, sun4i_irq_base + SUN4I_IRQ_ENABLE_REG(0)); |
@@ -124,7 +124,7 @@ static int __init sun4i_of_init(struct device_node *node, | |||
124 | sun4i_irq_domain = irq_domain_add_linear(node, 3 * 32, | 124 | sun4i_irq_domain = irq_domain_add_linear(node, 3 * 32, |
125 | &sun4i_irq_ops, NULL); | 125 | &sun4i_irq_ops, NULL); |
126 | if (!sun4i_irq_domain) | 126 | if (!sun4i_irq_domain) |
127 | panic("%s: unable to create IRQ domain\n", node->full_name); | 127 | panic("%pOF: unable to create IRQ domain\n", node); |
128 | 128 | ||
129 | set_handle_irq(sun4i_handle_irq); | 129 | set_handle_irq(sun4i_handle_irq); |
130 | 130 | ||