diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2018-11-23 11:54:18 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-12-13 09:35:56 +0000 |
commit | f9c75bca44d4754456cba7d3b4f0e15518177b0e (patch) | |
tree | 6830983bd1088ea3ff4d45447f49823635a175d7 /drivers/irqchip/irq-stm32-exti.c | |
parent | ed01edc0ab6fec0ff675a6b16ccf7069bde98769 (diff) | |
download | blackbird-op-linux-f9c75bca44d4754456cba7d3b4f0e15518177b0e.tar.gz blackbird-op-linux-f9c75bca44d4754456cba7d3b4f0e15518177b0e.zip |
irqchhip: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-stm32-exti.c')
-rw-r--r-- | drivers/irqchip/irq-stm32-exti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c index 0a2088e12d96..363385750fa7 100644 --- a/drivers/irqchip/irq-stm32-exti.c +++ b/drivers/irqchip/irq-stm32-exti.c @@ -678,8 +678,8 @@ static int __init stm32_exti_init(const struct stm32_exti_drv_data *drv_data, domain = irq_domain_add_linear(node, drv_data->bank_nr * IRQS_PER_BANK, &irq_exti_domain_ops, NULL); if (!domain) { - pr_err("%s: Could not register interrupt domain.\n", - node->name); + pr_err("%pOFn: Could not register interrupt domain.\n", + node); ret = -ENOMEM; goto out_unmap; } @@ -768,7 +768,7 @@ __init stm32_exti_hierarchy_init(const struct stm32_exti_drv_data *drv_data, host_data); if (!domain) { - pr_err("%s: Could not register exti domain.\n", node->name); + pr_err("%pOFn: Could not register exti domain.\n", node); ret = -ENOMEM; goto out_unmap; } |