mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
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:
parent
264041e379
commit
289582eac0
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user