of/address: replace printk(KERN_ERR ...) with pr_err(...)
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 30 Nov 2015 06:14:19 +0000 (15:14 +0900)
committerRob Herring <robh@kernel.org>
Wed, 9 Dec 2015 21:30:57 +0000 (15:30 -0600)
A trivial change suggested by checkpatch.pl.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/address.c

index cd53fe4a0c8684900a94fb4bee76f9bd668e3837..5289c80d546779f1141a23d83825b0e677645110 100644 (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;
                }