Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227756
b: refs/heads/master
c: edb8d53
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Guenter Roeck committed Jan 8, 2011
1 parent d05256f commit feebb1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 512504e9f5489dbe85c80fd2c1b44ab5a8e0d5fa
refs/heads/master: edb8d53c684da4062ac8c461727ddc1839336aa5
10 changes: 5 additions & 5 deletions trunk/drivers/hwmon/via-cputemp.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* 02110-1301 USA.
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
Expand Down Expand Up @@ -202,7 +204,7 @@ static int __cpuinit via_cputemp_device_add(unsigned int cpu)
pdev = platform_device_alloc(DRVNAME, cpu);
if (!pdev) {
err = -ENOMEM;
printk(KERN_ERR DRVNAME ": Device allocation failed\n");
pr_err("Device allocation failed\n");
goto exit;
}

Expand All @@ -214,8 +216,7 @@ static int __cpuinit via_cputemp_device_add(unsigned int cpu)

err = platform_device_add(pdev);
if (err) {
printk(KERN_ERR DRVNAME ": Device addition failed (%d)\n",
err);
pr_err("Device addition failed (%d)\n", err);
goto exit_device_free;
}

Expand Down Expand Up @@ -295,8 +296,7 @@ static int __init via_cputemp_init(void)
continue;

if (c->x86_model > 0x0f) {
printk(KERN_WARNING DRVNAME ": Unknown CPU "
"model 0x%x\n", c->x86_model);
pr_warn("Unknown CPU model 0x%x\n", c->x86_model);
continue;
}

Expand Down

0 comments on commit feebb1f

Please sign in to comment.