diff options
author | Rob Herring <robh@kernel.org> | 2016-06-15 08:32:18 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-07-18 16:57:42 -0500 |
commit | 606ad42aa3b1fe8bb122305bef5aea79a6cef54b (patch) | |
tree | f744cc2b9cfb4f560a08ab5c99059a414dda0b37 /drivers/of/resolver.c | |
parent | 15cc2ed6dcf91a8658e084be4e140147161819d7 (diff) | |
download | lwn-606ad42aa3b1fe8bb122305bef5aea79a6cef54b.tar.gz lwn-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/resolver.c')
-rw-r--r-- | drivers/of/resolver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/resolver.c b/drivers/of/resolver.c index d313d492f278..741461142984 100644 --- a/drivers/of/resolver.c +++ b/drivers/of/resolver.c @@ -9,6 +9,8 @@ * version 2 as published by the Free Software Foundation. */ +#define pr_fmt(fmt) "OF: resolver: " fmt + #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> |