提交 289582ea 编写于 作者: M Masahiro Yamada 提交者: Rob Herring

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

A trivial change suggested by checkpatch.pl.
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: NRob Herring <robh@kernel.org>
上级 264041e3
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册