projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide/Kconfig: mark ide-scsi as deprecated
[linux-2.6]
/
drivers
/
misc
/
eeepc-laptop.c
diff --git
a/drivers/misc/eeepc-laptop.c
b/drivers/misc/eeepc-laptop.c
index
9e8d79e
..
facdb98
100644
(file)
--- a/
drivers/misc/eeepc-laptop.c
+++ b/
drivers/misc/eeepc-laptop.c
@@
-553,9
+553,9
@@
static void eeepc_hwmon_exit(void)
hwmon = eeepc_hwmon_device;
if (!hwmon)
return ;
- hwmon_device_unregister(hwmon);
sysfs_remove_group(&hwmon->kobj,
&hwmon_attribute_group);
+ hwmon_device_unregister(hwmon);
eeepc_hwmon_device = NULL;
}