From: Masahiro Yamada Date: Mon, 30 Nov 2015 06:14:19 +0000 (+0900) Subject: of/address: replace printk(KERN_ERR ...) with pr_err(...) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=289582eac070a960e3c1cbfd8d110342426c5842;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git of/address: replace printk(KERN_ERR ...) with pr_err(...) A trivial change suggested by checkpatch.pl. Signed-off-by: Masahiro Yamada Signed-off-by: Rob Herring --- 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; }