git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: Use subsys_initcall
[pandora-kernel.git]
/
drivers
/
hwmon
/
hwmon.c
diff --git
a/drivers/hwmon/hwmon.c
b/drivers/hwmon/hwmon.c
index
106fa01
..
affcc00
100644
(file)
--- a/
drivers/hwmon/hwmon.c
+++ b/
drivers/hwmon/hwmon.c
@@
-101,7
+101,7
@@
static void __exit hwmon_exit(void)
class_destroy(hwmon_class);
}
-
module_init
(hwmon_init);
+
subsys_initcall
(hwmon_init);
module_exit(hwmon_exit);
EXPORT_SYMBOL_GPL(hwmon_device_register);