Commit 289582ea authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Rob Herring

of/address: replace printk(KERN_ERR ...) with pr_err(...)

A trivial change suggested by checkpatch.pl.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 264041e3
...@@ -596,7 +596,7 @@ static u64 __of_translate_address(struct device_node *dev, ...@@ -596,7 +596,7 @@ static u64 __of_translate_address(struct device_node *dev,
pbus = of_match_bus(parent); pbus = of_match_bus(parent);
pbus->count_cells(dev, &pna, &pns); pbus->count_cells(dev, &pna, &pns);
if (!OF_CHECK_COUNTS(pna, pns)) { if (!OF_CHECK_COUNTS(pna, pns)) {
printk(KERN_ERR "prom_parse: Bad cell count for %s\n", pr_err("prom_parse: Bad cell count for %s\n",
of_node_full_name(dev)); of_node_full_name(dev));
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment