diff options
author | Rob Herring <robh@kernel.org> | 2016-06-15 15:32:18 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-07-18 23:57:42 +0200 |
commit | 606ad42aa3b1fe8bb122305bef5aea79a6cef54b (patch) | |
tree | f744cc2b9cfb4f560a08ab5c99059a414dda0b37 /drivers/of/irq.c | |
parent | of/irq: Mark initialised interrupt controllers as populated (diff) | |
download | linux-606ad42aa3b1fe8bb122305bef5aea79a6cef54b.tar.xz linux-606ad42aa3b1fe8bb122305bef5aea79a6cef54b.zip |
of: use pr_fmt prefix for all console printing
Clean-up all the DT printk functions to use common pr_fmt prefix.
Some print statements such as kmalloc errors were redundant, so just
drop those.
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Reviewed-by: Frank Rowand <frank.rowand@am.sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/irq.c')
-rw-r--r-- | drivers/of/irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 1b58cd574316..89a71c6074fc 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -18,6 +18,8 @@ * driver. */ +#define pr_fmt(fmt) "OF: " fmt + #include <linux/device.h> #include <linux/errno.h> #include <linux/list.h> |