diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-11-30 07:14:19 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-12-09 22:30:57 +0100 |
commit | 289582eac070a960e3c1cbfd8d110342426c5842 (patch) | |
tree | cc869ab27010f79962544195830b6a1feabb04f3 /drivers/of/address.c | |
parent | of/irq: optimize device node matching loop in of_irq_init() (diff) | |
download | linux-289582eac070a960e3c1cbfd8d110342426c5842.tar.xz linux-289582eac070a960e3c1cbfd8d110342426c5842.zip |
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>
Diffstat (limited to 'drivers/of/address.c')
-rw-r--r-- | drivers/of/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c index cd53fe4a0c86..5289c80d5467 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -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; } |