diff options
author | Joe Perches <joe@perches.com> | 2011-03-30 00:21:37 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-05-27 18:35:47 +0200 |
commit | eb8895241dfb6c26114928b186cc1810cbd57f1b (patch) | |
tree | 86c80a9b2719b35794be580cc285fc18dba6a47f /drivers/platform/x86/dell-wmi-aio.c | |
parent | compal-laptop: Convert printks to pr_<level> (diff) | |
download | linux-eb8895241dfb6c26114928b186cc1810cbd57f1b.tar.xz linux-eb8895241dfb6c26114928b186cc1810cbd57f1b.zip |
dell: Convert printks to pr_<level>
Add pr_fmt.
Remove hard coded prefixes and use pr_<level>.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/dell-wmi-aio.c')
-rw-r--r-- | drivers/platform/x86/dell-wmi-aio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/x86/dell-wmi-aio.c b/drivers/platform/x86/dell-wmi-aio.c index 0ed84573ae1f..3f945457f71c 100644 --- a/drivers/platform/x86/dell-wmi-aio.c +++ b/drivers/platform/x86/dell-wmi-aio.c @@ -15,6 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> @@ -138,7 +139,7 @@ static int __init dell_wmi_aio_init(void) guid = dell_wmi_aio_find(); if (!guid) { - pr_warning("No known WMI GUID found\n"); + pr_warn("No known WMI GUID found\n"); return -ENXIO; } |