Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227747
b: refs/heads/master
c: c95df1a
h: refs/heads/master
i:
  227745: a191193
  227743: de0353f
v: v3
  • Loading branch information
Joe Perches authored and Guenter Roeck committed Jan 8, 2011
1 parent fecf33c commit d0451c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 1f923c7a6726b224b6b1b059da5a7f8e3dff1196
refs/heads/master: c95df1ae69b85d5f306d86164e245aae614b852a
4 changes: 3 additions & 1 deletion trunk/drivers/hwmon/hwmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
the Free Software Foundation; version 2 of the License.
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/module.h>
#include <linux/device.h>
#include <linux/err.h>
Expand Down Expand Up @@ -119,7 +121,7 @@ static int __init hwmon_init(void)

hwmon_class = class_create(THIS_MODULE, "hwmon");
if (IS_ERR(hwmon_class)) {
printk(KERN_ERR "hwmon.c: couldn't create sysfs class\n");
pr_err("couldn't create sysfs class\n");
return PTR_ERR(hwmon_class);
}
return 0;
Expand Down

0 comments on commit d0451c8

Please sign in to comment.