summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/dell-wmi-aio.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-03-30 00:21:37 +0200
committerMatthew Garrett <mjg@redhat.com>2011-05-27 18:35:47 +0200
commiteb8895241dfb6c26114928b186cc1810cbd57f1b (patch)
tree86c80a9b2719b35794be580cc285fc18dba6a47f /drivers/platform/x86/dell-wmi-aio.c
parentcompal-laptop: Convert printks to pr_<level> (diff)
downloadlinux-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.c3
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;
}