projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323623a
)
ideapad-laptop: Add pr_fmt
author
Joe Perches
<joe@perches.com>
Tue, 29 Mar 2011 22:21:43 +0000
(15:21 -0700)
committer
Matthew Garrett
<mjg@redhat.com>
Fri, 27 May 2011 16:35:49 +0000
(12:35 -0400)
Add pr_fmt to prefix logging messages.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/ideapad-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/ideapad-laptop.c
b/drivers/platform/x86/ideapad-laptop.c
index 21b101899baeeb76e718c80c089caa2c8553c848..bfdda33feb26547dea8a5187543bb4b58de38f01 100644
(file)
--- a/
drivers/platform/x86/ideapad-laptop.c
+++ b/
drivers/platform/x86/ideapad-laptop.c
@@
-20,6
+20,8
@@
* 02110-1301, USA.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>