Skip to content

Commit

Permalink
of/address: replace printk(KERN_ERR ...) with pr_err(...)
Browse files Browse the repository at this point in the history
A trivial change suggested by checkpatch.pl.

Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
masahir0y authored and robherring committed Dec 9, 2015
1 parent 264041e commit 289582e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/of/address.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 289582e

Please sign in to comment.