Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252859
b: refs/heads/master
c: ad3f2f0
h: refs/heads/master
i:
  252857: f68acb7
  252855: cd96933
v: v3
  • Loading branch information
Joe Perches authored and Matthew Garrett committed May 27, 2011
1 parent 688c14a commit dd011b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: dd8e908e82964b8b493ef241707fb6109aa41cfd
refs/heads/master: ad3f2f038fbd67f3341f760507aed90381114145
5 changes: 3 additions & 2 deletions trunk/drivers/platform/x86/xo15-ebook.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
* your option) any later version.
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
Expand All @@ -20,7 +22,6 @@
#include <acpi/acpi_drivers.h>

#define MODULE_NAME "xo15-ebook"
#define PREFIX MODULE_NAME ": "

#define XO15_EBOOK_CLASS MODULE_NAME
#define XO15_EBOOK_TYPE_UNKNOWN 0x00
Expand Down Expand Up @@ -105,7 +106,7 @@ static int ebook_switch_add(struct acpi_device *device)
class = acpi_device_class(device);

if (strcmp(hid, XO15_EBOOK_HID)) {
printk(KERN_ERR PREFIX "Unsupported hid [%s]\n", hid);
pr_err("Unsupported hid [%s]\n", hid);
error = -ENODEV;
goto err_free_input;
}
Expand Down

0 comments on commit dd011b8

Please sign in to comment.