diff options
author | Joe Perches <joe@perches.com> | 2011-03-30 00:21:43 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-05-27 18:35:49 +0200 |
commit | 9ab23989d3e774f4545c83eeab0137e35f7115be (patch) | |
tree | 8ae93dd1502b6c4170e8bbe7b5ffc962e1f1aad1 /drivers/platform | |
parent | ibm_rtl: Use pr_fmt and pr_<level> (diff) | |
download | linux-9ab23989d3e774f4545c83eeab0137e35f7115be.tar.xz linux-9ab23989d3e774f4545c83eeab0137e35f7115be.zip |
ideapad-laptop: Add pr_fmt
Add pr_fmt to prefix logging messages.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/ideapad-laptop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 21b101899bae..bfdda33feb26 100644 --- 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> |