| .. | .. |
|---|
| 72 | 72 | domain = irq_domain_add_linear(node, OCELOT_NR_IRQ, |
|---|
| 73 | 73 | &irq_generic_chip_ops, NULL); |
|---|
| 74 | 74 | if (!domain) { |
|---|
| 75 | | - pr_err("%s: unable to add irq domain\n", node->name); |
|---|
| 75 | + pr_err("%pOFn: unable to add irq domain\n", node); |
|---|
| 76 | 76 | return -ENOMEM; |
|---|
| 77 | 77 | } |
|---|
| 78 | 78 | |
|---|
| .. | .. |
|---|
| 80 | 80 | "icpu", handle_level_irq, |
|---|
| 81 | 81 | 0, 0, 0); |
|---|
| 82 | 82 | if (ret) { |
|---|
| 83 | | - pr_err("%s: unable to alloc irq domain gc\n", node->name); |
|---|
| 83 | + pr_err("%pOFn: unable to alloc irq domain gc\n", node); |
|---|
| 84 | 84 | goto err_domain_remove; |
|---|
| 85 | 85 | } |
|---|
| 86 | 86 | |
|---|
| 87 | 87 | gc = irq_get_domain_generic_chip(domain, 0); |
|---|
| 88 | 88 | gc->reg_base = of_iomap(node, 0); |
|---|
| 89 | 89 | if (!gc->reg_base) { |
|---|
| 90 | | - pr_err("%s: unable to map resource\n", node->name); |
|---|
| 90 | + pr_err("%pOFn: unable to map resource\n", node); |
|---|
| 91 | 91 | ret = -ENOMEM; |
|---|
| 92 | 92 | goto err_gc_free; |
|---|
| 93 | 93 | } |
|---|