Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227740
b: refs/heads/master
c: ac56149
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Guenter Roeck committed Jan 8, 2011
1 parent 6515225 commit f3c20ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 4d630e2ba59a231c8e5031cc55e16737aa59af97
refs/heads/master: ac561494d48b92a41424cc87e2a02b545424643c
7 changes: 4 additions & 3 deletions trunk/drivers/hwmon/asus_atk0110.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* See COPYING in the top level directory of the kernel tree.
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/debugfs.h>
#include <linux/kernel.h>
#include <linux/hwmon.h>
Expand Down Expand Up @@ -1414,14 +1416,13 @@ static int __init atk0110_init(void)

/* Make sure it's safe to access the device through ACPI */
if (!acpi_resources_are_enforced()) {
pr_err("atk: Resources not safely usable due to "
"acpi_enforce_resources kernel parameter\n");
pr_err("Resources not safely usable due to acpi_enforce_resources kernel parameter\n");
return -EBUSY;
}

ret = acpi_bus_register_driver(&atk_driver);
if (ret)
pr_info("atk: acpi_bus_register_driver failed: %d\n", ret);
pr_info("acpi_bus_register_driver failed: %d\n", ret);

return ret;
}
Expand Down

0 comments on commit f3c20ad

Please sign in to comment.