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

A trivial change suggested by checkpatch.pl.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Masahiro Yamada 2015-11-30 15:14:19 +09:00 committed by Rob Herring
parent 264041e379
commit 289582eac0

View File

@ -596,7 +596,7 @@ static u64 __of_translate_address(struct device_node *dev,
pbus = of_match_bus(parent);
pbus->count_cells(dev, &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));
break;
}